@openhistoricalmap/map-styles 0.9.12 → 0.9.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/wkg/index.html ADDED
@@ -0,0 +1,18 @@
1
+ <html>
2
+ <head>
3
+ <script src="https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.js"></script>
4
+ <link href="https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css" rel="stylesheet" />
5
+ </head>
6
+ <body>
7
+ <div id="map" style="width:100%;height:100%"></div>
8
+ <script>
9
+ var map = new maplibregl.Map({
10
+ container: 'map', // container id
11
+ style: 'https://unpkg.com/@openhistoricalmap/map-styles@latest/dist/woodblock/woodblock.json', // style URL
12
+ center: [0, 0], // starting position [lng, lat]
13
+ zoom: 1 // starting zoom
14
+ });
15
+ </script>
16
+
17
+ </body>
18
+ </html>