@mappable-world/mappable-default-ui-theme
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -8,4 +8,6 @@ import type { EasingFunctionDescription, LngLat } from '@mappable-world/mappable-types/common/types'; | ||
type MMapGeolocationControlProps = { | ||
/** Geolocation request callback */ | ||
/** Geolocation request success callback */ | ||
onGeolocatePosition?: (position: LngLat) => void; | ||
/** Geolocation request error callback */ | ||
onGeolocateError?: () => void; | ||
/** Data source id for geolocation placemark */ | ||
@@ -19,5 +21,12 @@ source?: string; | ||
zoom?: number; | ||
/** Options for {@link mappable.geolocation.getPosition} */ | ||
positionOptions?: PositionOptions; | ||
}; | ||
declare const defaultProps: Readonly<{ | ||
duration: 500; | ||
positionOptions: { | ||
enableHighAccuracy: boolean; | ||
timeout: number; | ||
maximumAge: number; | ||
}; | ||
}>; | ||
@@ -39,2 +48,7 @@ type DefaultProps = typeof defaultProps; | ||
duration: 500; | ||
positionOptions: { | ||
enableHighAccuracy: boolean; | ||
timeout: number; | ||
maximumAge: number; | ||
}; | ||
}>; | ||
@@ -41,0 +55,0 @@ static [mappable.optionsKeyVuefy]: CustomVuefyOptions<MMapGeolocationControl>; |
{ | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"name": "@mappable-world/mappable-default-ui-theme", | ||
@@ -4,0 +4,0 @@ "description": "Mappable Maps JS API 3.0 example @mappable-world/mappable-default-ui-theme", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1092352
2622