@unmap/sdk 0.31.1 → 0.32.0
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 +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -102,15 +102,15 @@ 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.
|
|
105
|
+
<link rel="stylesheet" href="https://cdn.unmap.dev/sdk/0.32.0/unmap.css">
|
|
106
106
|
<div id="map" style="height: 400px"></div>
|
|
107
|
-
<script src="https://cdn.unmap.dev/sdk/0.
|
|
107
|
+
<script src="https://cdn.unmap.dev/sdk/0.32.0/unmap.js"></script>
|
|
108
108
|
<script>
|
|
109
109
|
unmap.createMap({ key: 'um_live_...', container: '#map', center: [-114.07, 51.05] })
|
|
110
110
|
</script>
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
Everything above is on the `unmap` global: `unmap.Unmap`, `unmap.Geocoder`, `unmap.Router`, `unmap.maplibregl`. Pin the exact version in production; `/sdk/0.
|
|
113
|
+
Everything above is on the `unmap` global: `unmap.Unmap`, `unmap.Geocoder`, `unmap.Router`, `unmap.maplibregl`. Pin the exact version in production; `/sdk/0.32/` follows patches and `/sdk/latest/` follows everything.
|
|
114
114
|
|
|
115
115
|
## Options
|
|
116
116
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unmap/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"description": "One key, the whole unmap platform: map + geocoder + router",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"maplibre-gl": "^6.9.0",
|
|
43
|
-
"@unmap/core": "0.
|
|
44
|
-
"@unmap/elevation": "0.
|
|
45
|
-
"@unmap/geocoding": "0.
|
|
46
|
-
"@unmap/maps": "0.
|
|
47
|
-
"@unmap/routing": "0.
|
|
43
|
+
"@unmap/core": "0.32.0",
|
|
44
|
+
"@unmap/elevation": "0.32.0",
|
|
45
|
+
"@unmap/geocoding": "0.32.0",
|
|
46
|
+
"@unmap/maps": "0.32.0",
|
|
47
|
+
"@unmap/routing": "0.32.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^20.19.43",
|