@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
5
5
  "module": "dist/maptiler-sdk.mjs",
6
6
  "types": "dist/maptiler-sdk.d.ts",
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 if `true`. Note that the logo is always displayed on free plan.
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
  };