@unmap/sdk 0.31.0 → 0.31.1
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/README.md +2 -2
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -102,9 +102,9 @@ has `lden: null`, never 0 dB. The levels are derived from OpenStreetMap and are
|
|
|
102
102
|
The same SDK loads from a script tag, with MapLibre already inside it:
|
|
103
103
|
|
|
104
104
|
```html
|
|
105
|
-
<link rel="stylesheet" href="https://cdn.unmap.dev/sdk/0.31.
|
|
105
|
+
<link rel="stylesheet" href="https://cdn.unmap.dev/sdk/0.31.1/unmap.css">
|
|
106
106
|
<div id="map" style="height: 400px"></div>
|
|
107
|
-
<script src="https://cdn.unmap.dev/sdk/0.31.
|
|
107
|
+
<script src="https://cdn.unmap.dev/sdk/0.31.1/unmap.js"></script>
|
|
108
108
|
<script>
|
|
109
109
|
unmap.createMap({ key: 'um_live_...', container: '#map', center: [-114.07, 51.05] })
|
|
110
110
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unmap/sdk",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.1",
|
|
4
4
|
"description": "One key, the whole unmap platform: map + geocoder + router",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -40,16 +40,17 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"maplibre-gl": "^6.9.0",
|
|
43
|
-
"@unmap/core": "0.31.
|
|
44
|
-
"@unmap/elevation": "0.31.
|
|
45
|
-
"@unmap/geocoding": "0.31.
|
|
46
|
-
"@unmap/maps": "0.31.
|
|
47
|
-
"@unmap/routing": "0.31.
|
|
43
|
+
"@unmap/core": "0.31.1",
|
|
44
|
+
"@unmap/elevation": "0.31.1",
|
|
45
|
+
"@unmap/geocoding": "0.31.1",
|
|
46
|
+
"@unmap/maps": "0.31.1",
|
|
47
|
+
"@unmap/routing": "0.31.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
+
"@types/node": "^20.19.43",
|
|
50
51
|
"tsup": "^8.3.0",
|
|
51
52
|
"typescript": "^5.6.0",
|
|
52
|
-
"vitest": "^
|
|
53
|
+
"vitest": "^4.1.12"
|
|
53
54
|
},
|
|
54
55
|
"scripts": {
|
|
55
56
|
"build": "tsup",
|