@mappable-world/mappable-types 1.0.15147272 → 1.0.15214209

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
  }
@@ -56,7 +56,7 @@ declare const defaultProps: Readonly<{
56
56
  type DefaultProps = typeof defaultProps;
57
57
  /**
58
58
  * The marker component on the map. Allows you to insert your own DOM implementation of the marker.
59
- * > Does not provide a default implementation. See [[MMapDefaultMarker]]
59
+ * > Does not provide a default implementation. See `MMapDefaultMarker` from [@mappable-world/mappable-default-ui-theme](https://www.npmjs.com/package/@mappable-world/mappable-default-ui-theme)
60
60
  *
61
61
  * @example
62
62
  * ```javascript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappable-world/mappable-types",
3
- "version": "1.0.15147272",
3
+ "version": "1.0.15214209",
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;