@maptiler/sdk 1.0.10 → 1.0.11
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/CHANGELOG.md +4 -0
- package/demos/maptiler-sdk.umd.js +1 -0
- package/dist/maptiler-sdk.d.ts +24 -2
- package/dist/maptiler-sdk.min.mjs +1 -1
- package/dist/maptiler-sdk.mjs +1 -1
- package/dist/maptiler-sdk.mjs.map +1 -1
- package/dist/maptiler-sdk.umd.js +1 -0
- package/dist/maptiler-sdk.umd.js.map +1 -1
- package/dist/maptiler-sdk.umd.min.js +4 -4
- package/package.json +1 -1
- package/src/Map.ts +8 -1
- package/src/index.ts +2 -0
package/package.json
CHANGED
package/src/Map.ts
CHANGED
|
@@ -99,7 +99,14 @@ export type MapOptions = Omit<MapOptionsML, "style" | "maplibreLogo"> & {
|
|
|
99
99
|
apiKey?: string;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* Shows the MapTiler logo
|
|
102
|
+
* Shows or hides the MapTiler logo in the bottom left corner.
|
|
103
|
+
*
|
|
104
|
+
* For paid plans:
|
|
105
|
+
* - `true` shows MapTiler logo
|
|
106
|
+
* - `false` hodes MapTiler logo
|
|
107
|
+
* - default: `false` (hide)
|
|
108
|
+
*
|
|
109
|
+
* For free plans: MapTiler logo always shows, regardless of the value.
|
|
103
110
|
*/
|
|
104
111
|
maptilerLogo?: boolean;
|
|
105
112
|
|
package/src/index.ts
CHANGED
|
@@ -134,6 +134,7 @@ import { TerrainControl } from "./TerrainControl";
|
|
|
134
134
|
import { MaptilerGeolocateControl } from "./MaptilerGeolocateControl";
|
|
135
135
|
import { MaptilerLogoControl } from "./MaptilerLogoControl";
|
|
136
136
|
import { MaptilerTerrainControl } from "./MaptilerTerrainControl";
|
|
137
|
+
import { MaptilerNavigationControl } from "./MaptilerNavigationControl";
|
|
137
138
|
|
|
138
139
|
// importing client functions to expose them as part of the SDK
|
|
139
140
|
import type {
|
|
@@ -227,4 +228,5 @@ export {
|
|
|
227
228
|
MaptilerGeolocateControl,
|
|
228
229
|
MaptilerLogoControl,
|
|
229
230
|
MaptilerTerrainControl,
|
|
231
|
+
MaptilerNavigationControl,
|
|
230
232
|
};
|