Skip to content

Commit

Permalink
Rename output bundle from mapml-viewer to mapml.js for consistency
Browse files Browse the repository at this point in the history
with project name
  • Loading branch information
prushfor authored and prushforth committed Sep 24, 2024
1 parent 7fbf421 commit f805cd3
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion api/custom-map-ui/bootstrap-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Using Bootstrap</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
Expand Down
2 changes: 1 addition & 1 deletion api/custom-map-ui/custom-css-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Using Bootstrap</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
Expand Down
2 changes: 1 addition & 1 deletion api/custom-map-ui/geolocation-search-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>

<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link href="../../shared/css/geo-search.css" rel="stylesheet">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion api/custom-map-ui/geoname-search-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>

<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link href="../../shared/css/geo-search.css" rel="stylesheet">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion api/custom-map-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>custom-ui home</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
Expand Down
2 changes: 1 addition & 1 deletion api/geojson/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>GeoJSON API Demo</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<map-style hidden>
.a {
Expand Down
2 changes: 1 addition & 1 deletion api/map-feature/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="dark light">
<title>&lt;map-feature&gt; API</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<style>
body {
font-family: 'system-ui', sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion api/pwa/file-handling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="./images/favicon.ico">
<link rel="manifest" href="./manifest.json">
<script src="../../../dist/mapml-viewer.js" type="module"></script>
<script src="../../../dist/mapml.js" type="module"></script>
</head>
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion change-projection/default-projection/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Default projection</title>
<!-- the layer in this map should continue to be visible when you change
the viewer projection from OSMTILE to CBMTILE. -->
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<style>button {
z-index: 1;
Expand Down
2 changes: 1 addition & 1 deletion change-projection/projection-extent-fallback/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Variable projection layers</title>
<!-- the layer in this map should continue to be visible when you change
the viewer projection from OSMTILE to CBMTILE. -->
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<style>button {
z-index: 1;
Expand Down
2 changes: 1 addition & 1 deletion change-projection/projection-negotiation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Projection Negotiation</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<style>
mapml-viewer:defined {
Expand Down
2 changes: 1 addition & 1 deletion change-projection/zoomin-zoomout/mapml-viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Change projection at z=9</title>
<script type="module" src="../../../dist/mapml-viewer.js"></script>
<script type="module" src="../../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../../global.css">
<script type="module">
let customProjectionDefinition = `{
Expand Down
2 changes: 1 addition & 1 deletion custom-projections/Arctic-SDI/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Arctic SDI - laea</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<script type="module">
let map = document.querySelector("mapml-viewer");
Expand Down
2 changes: 1 addition & 1 deletion custom-projections/Atlas-of-Canada/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Atlas of Canada Azimuthal Equal Distance Wall map</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<script type="module">
let customProjectionDefinition = `{
Expand Down
2 changes: 1 addition & 1 deletion custom-projections/BNG/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>British National Grid custom projection</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<!--
To define a custom projection, the user needs to supply a projection definition
Expand Down
2 changes: 1 addition & 1 deletion custom-projections/bc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Province of British Columbia Albers tile cache</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<script type="module">
/* EPSG:3005 */
Expand Down
2 changes: 1 addition & 1 deletion datacube/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Minimum Snow and Ice</title>
<script type="module" src="../dist/mapml-viewer.js"></script>
<script type="module" src="../dist/mapml.js"></script>
<link rel="stylesheet" href="../global.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion human-geo-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Story Map</title>
<script type="module" src="../dist/mapml-viewer.js"></script>
<script type="module" src="../dist/mapml.js"></script>
<style>
body {
padding: 0 1rem;
Expand Down
2 changes: 1 addition & 1 deletion i18n/map-chrome-i18n/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
document.head.appendChild(options);

</script>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
</head>
<body>
<mapml-viewer zoom="6" lon="31.135254" lat="49.066668" controls projection="OSMTILE">
Expand Down
2 changes: 1 addition & 1 deletion i18n/rtl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Right-to-left text (Ottawa Restaurants)</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion inline-content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>MapML Features in-line as HTML layers</title>
<script type="module" src="../dist/mapml-viewer.js"></script>
<script type="module" src="../dist/mapml.js"></script>
<link rel="stylesheet" href="../global.css">
<style>
mapml-viewer:defined {
Expand Down
2 changes: 1 addition & 1 deletion linking/features/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Linking</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
<style>
html,
Expand Down
2 changes: 1 addition & 1 deletion linking/zoomin-zoomout/mapml-viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Change layer.src at z=9</title>
<script type="module" src="../../../dist/mapml-viewer.js"></script>
<script type="module" src="../../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../../global.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion map-feature/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Linking</title>
<script type="module" src="../dist/mapml-viewer.js"></script>
<script type="module" src="../dist/mapml.js"></script>
<link rel="stylesheet" href="../global.css">
<style>
html,
Expand Down
2 changes: 1 addition & 1 deletion multiple-extents/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Multi-extent layers</title>
<script type="module" src="../dist/mapml-viewer.js"></script>
<script type="module" src="../dist/mapml.js"></script>
<link rel="stylesheet" href="../global.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion painting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Painting Example</title>
<script type="module" src="../dist/mapml-viewer.js"></script>
<script type="module" src="../dist/mapml.js"></script>
<link rel="stylesheet" href="../global.css">
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion screenreader/announce-zoom/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
options.innerHTML = '{"announceMovement":true}';
document.head.appendChild(options);
</script>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
</head>
<body>
<mapml-viewer projection="OSMTILE" zoom="11" lat="48.8566" lon="2.3522" frameborder="0" controls controlslist="nofullscreen nolayer noreload">
Expand Down
2 changes: 1 addition & 1 deletion screenreader/closest-restaurants/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>

<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link href="../../shared/css/geo-search.css" rel="stylesheet">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion screenreader/feature-index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
options.innerHTML = '{"featureIndexOverlayOption":true}';
document.head.appendChild(options);
</script>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
</head>
<body>
<mapml-viewer projection="OSMTILE" zoom="14" lat="45.406314" lon="-75.6883335" controls>
Expand Down
2 changes: 1 addition & 1 deletion screenreader/restaurants/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Ottawa Restaurants</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion security/csp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>CSP evaluation</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="self.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion styling/alternate-styles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>National Geographic base map</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion styling/dark-mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="dark light">
<title>Dark mode</title>
<script type="module" src="../dist/mapml-viewer.js"></script>
<script type="module" src="../dist/mapml.js"></script>
<!-- <script type="module" src="../dist/web-map.js"></script>-->
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion styling/media-queries/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Minimum Snow and Ice</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../global.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion vector-tiles/mapml/mapml-viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>MapML Vector Tiles</title>
<script type="module" src="../../../dist/mapml-viewer.js"></script>
<script type="module" src="../../../dist/mapml.js"></script>
<link rel="stylesheet" href="../../../global.css">
<style>
mapml-viewer:defined {
Expand Down
2 changes: 1 addition & 1 deletion vector-tiles/pmtiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>index-map.html</title>
<script type="module" src="../../dist/mapml-viewer.js"></script>
<script type="module" src="../../dist/mapml.js"></script>
<style>
html,
body {
Expand Down

0 comments on commit f805cd3

Please sign in to comment.