@yandex/ymaps3-default-ui-theme
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -8,4 +8,6 @@ import type { EasingFunctionDescription, LngLat } from '@yandex/ymaps3-types/common/types'; | ||
type YMapGeolocationControlProps = { | ||
/** 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 ymaps3.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 [ymaps3.optionsKeyVuefy]: CustomVuefyOptions<YMapGeolocationControl>; |
{ | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"name": "@yandex/ymaps3-default-ui-theme", | ||
@@ -4,0 +4,0 @@ "description": "Yandex Maps JS API 3.0 example @yandex/ymaps3-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
1791006
2661