@maptiler/sdk 1.0.8 → 1.0.10
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/.github/workflows/npm-publish.yml +0 -1
- package/CHANGELOG.md +62 -0
- package/demos/maptiler-sdk.umd.js +693 -93
- package/demos/simple.html +3 -2
- package/dist/maptiler-sdk.d.ts +229 -42
- package/dist/maptiler-sdk.min.mjs +1 -1
- package/dist/maptiler-sdk.mjs +583 -46
- package/dist/maptiler-sdk.mjs.map +1 -1
- package/dist/maptiler-sdk.umd.js +693 -93
- package/dist/maptiler-sdk.umd.js.map +1 -1
- package/dist/maptiler-sdk.umd.min.js +47 -47
- package/package.json +25 -27
- package/readme.md +111 -0
- package/src/AttributionControl.ts +13 -0
- package/src/CanvasSource.ts +13 -0
- package/src/FullscreenControl.ts +13 -0
- package/src/GeoJSONSource.ts +13 -0
- package/src/GeolocateControl.ts +13 -0
- package/src/ImageSource.ts +13 -0
- package/src/LogoControl.ts +13 -0
- package/src/Map.ts +291 -49
- package/src/MaptilerGeolocateControl.ts +1 -1
- package/src/MaptilerLogoControl.ts +2 -1
- package/src/MaptilerNavigationControl.ts +2 -2
- package/src/Marker.ts +13 -0
- package/src/NavigationControl.ts +13 -0
- package/src/Popup.ts +13 -0
- package/src/RasterDEMTileSource.ts +13 -0
- package/src/RasterTileSource.ts +13 -0
- package/src/ScaleControl.ts +13 -0
- package/src/Style.ts +13 -0
- package/src/TerrainControl.ts +13 -0
- package/src/VectorTileSource.ts +13 -0
- package/src/VideoSource.ts +13 -0
- package/src/index.ts +99 -47
- package/demos/embedded-config.html +0 -66
- package/demos/two-maps.html +0 -71
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,66 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## [v1.0.10](https://github.com/maptiler/maptiler-sdk-js/releases/tag/v1.0.10)
|
|
3
|
+
- ADD terrain growing animation on enabling/disabling
|
|
4
|
+
- ADD `Map` custom event `loadWithTerrain`
|
|
5
|
+
- ADD `Map` lifecycle methods `.onLoadAsync()` and `.onLoadWithTerrainAsync()`
|
|
6
|
+
- DOC readme section was added about the event an methods above
|
|
7
|
+
- VER updated from `maplibre-gl@3.0.0-pre.3` to `maplibre-gl@3.0.0-pre.4`
|
|
8
|
+
- VER updated from `typedoc@0.23.21` to `typedoc@0.24.4`, which changes slightly the look of the reference documentation.
|
|
9
|
+
- VER updated from `typescript@4.8.4` to `typescript@5.0.4`
|
|
10
|
+
- VER updated from `rollup@2.79.0` to `rollup@3.20.6` as well as all the Rollup plugins
|
|
11
|
+
|
|
12
|
+
## [v1.0.9](https://github.com/maptiler/maptiler-sdk-js/releases/tag/v1.0.9)
|
|
13
|
+
- FIX: if the geolocate option is missing from `Map` constructor, then it's considered `false`
|
|
14
|
+
|
|
15
|
+
- FIX: The instance types for the following MapLibre classes are now fully exported:
|
|
16
|
+
- `NavigationControl`
|
|
17
|
+
- `GeolocateControl`
|
|
18
|
+
- `AttributionControl`
|
|
19
|
+
- `LogoControl`
|
|
20
|
+
- `ScaleControl`
|
|
21
|
+
- `FullscreenControl`
|
|
22
|
+
- `TerrainControl`
|
|
23
|
+
- `Popup`
|
|
24
|
+
- `Marker`
|
|
25
|
+
- `Style`
|
|
26
|
+
- `LngLat`
|
|
27
|
+
- `LngLatBounds`
|
|
28
|
+
- `MercatorCoordinate`
|
|
29
|
+
- `Evented`
|
|
30
|
+
- `AJAXError`
|
|
31
|
+
- `CanvasSource`
|
|
32
|
+
- `GeoJSONSource`
|
|
33
|
+
- `ImageSource`
|
|
34
|
+
- `RasterDEMTileSource`
|
|
35
|
+
- `RasterTileSource`
|
|
36
|
+
- `VectorTileSource`
|
|
37
|
+
- `VideoSource`
|
|
38
|
+
- `MapMLGL`
|
|
39
|
+
|
|
40
|
+
- FIX: The following class have been extended to provide greater compatibility with SDK,s MapL
|
|
41
|
+
- `Popup`
|
|
42
|
+
- `Marker`
|
|
43
|
+
- `Style`
|
|
44
|
+
- `CanvasSource`
|
|
45
|
+
- `GeoJSONSource`
|
|
46
|
+
- `ImageSource`
|
|
47
|
+
- `RasterDEMTileSource`
|
|
48
|
+
- `RasterTileSource`
|
|
49
|
+
- `VectorTileSource`
|
|
50
|
+
- `VideoSource`
|
|
51
|
+
- `NavigationControl`
|
|
52
|
+
- `GeolocateControl`
|
|
53
|
+
- `AttributionControl`
|
|
54
|
+
- `LogoControl`
|
|
55
|
+
- `ScaleControl`
|
|
56
|
+
- `FullscreenControl`
|
|
57
|
+
- `TerrainControl`
|
|
58
|
+
|
|
59
|
+
- ADD: new styles:
|
|
60
|
+
- `MapStyle.STREETS.NIGHT`
|
|
61
|
+
- `MapStyle.WINTER.DARK`
|
|
62
|
+
- `MapStyle.OUTDOOR.DARK`
|
|
63
|
+
|
|
2
64
|
## [v1.0.8](https://github.com/maptiler/maptiler-sdk-js/releases/tag/v1.0.8)
|
|
3
65
|
- FIX: Since v1.0.7, the `Map` primary language (when custom) was no longer persistant on style update.
|
|
4
66
|
|