@mappable-world/mappable-types 0.0.15120917 → 1.0.15194938

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.
@@ -104,7 +104,7 @@ type MapTheme = 'dark';
104
104
  type VectorTileSize = 'X1' | 'X4' | 'X16';
105
105
  type VectorDataSourcePriority = 'low' | 'medium' | 'high';
106
106
  type VectorObjectsCollisionPriority = 'low' | 'medium' | 'high' | 'ultra';
107
- type VectorMapType = 'map' | 'driving' | 'transit' | 'admin';
107
+ type VectorMapType = 'map' | 'driving' | 'transit' | 'admin' | 'future-map';
108
108
  interface VectorTileDataSourceDescription {
109
109
  /** Default is `'vmap2'` */
110
110
  tileFormat?: 'vmap2' | 'vmap3';
@@ -153,7 +153,6 @@ interface VectorTileDataSourceDescription {
153
153
  customization?: VectorCustomization;
154
154
  theme?: MapTheme;
155
155
  hdModeEnabled?: boolean;
156
- mapType?: VectorMapType;
157
156
  /** Defines how hotspots of type should be treated: enabled/disabled or use custom hotspots instead. */
158
157
  hotspots?: Record<string, boolean | FetchHotspotsFunction | HotspotsOptions>;
159
158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappable-world/mappable-types",
3
- "version": "0.0.15120917",
3
+ "version": "1.0.15194938",
4
4
  "description": "Types for mappable maps library",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
@@ -12,6 +12,8 @@ type MMapGeolocationControlProps = {
12
12
  easing?: EasingFunctionDescription;
13
13
  /** Map location animate duration */
14
14
  duration?: number;
15
+ /** Map zoom after geolocate position */
16
+ zoom?: number;
15
17
  };
16
18
  declare const defaultProps: Readonly<{
17
19
  duration: 500;