@unmap/sdk 0.9.0 → 0.10.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 +1 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ await unmap.router.isochrone([-114.07, 51.05], { minutes: [10, 20] })
|
|
|
40
40
|
| `theme` | `string` | A theme code (`u…` or `ut1.`) from [unmap.dev/create](https://unmap.dev/create). |
|
|
41
41
|
| `center` | `[lng, lat]` | Initial centre. |
|
|
42
42
|
| `zoom` | `number` | Initial zoom. |
|
|
43
|
+
| `projection` | `'globe' \| 'mercator'` | `'globe'` draws the map as a sphere. Defaults to `'mercator'`. |
|
|
43
44
|
| `controls` | `boolean \| { position }` | Zoom and compass buttons. `true` by default; `false` for a bare canvas. |
|
|
44
45
|
|
|
45
46
|
The instance exposes `.map` (MapLibre GL `Map`, only with a `container`), `.geocoder`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unmap/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "One key, the whole unmap platform: map + geocoder + router",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"maplibre-gl": "^6.7.0",
|
|
43
|
-
"@unmap/maps": "0.
|
|
44
|
-
"@unmap/geocoding": "0.
|
|
45
|
-
"@unmap/routing": "0.
|
|
46
|
-
"@unmap/core": "0.
|
|
43
|
+
"@unmap/maps": "0.10.0",
|
|
44
|
+
"@unmap/geocoding": "0.10.0",
|
|
45
|
+
"@unmap/routing": "0.10.0",
|
|
46
|
+
"@unmap/core": "0.10.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"tsup": "^8.3.0",
|