@goongmaps/goong-map-react
Version:
A fork of react-map-gl. React components for Goong JS
20 lines (17 loc) • 535 B
TypeScript
import {ReactElement} from 'react';
import {MapControlProps} from './use-map-control';
type GeolocateControlProps = MapControlProps & Partial<{
className: string,
style: Object,
label: string,
auto: boolean,
positionOptions: any,
fitBoundsOptions: any,
trackUserLocation: boolean,
showUserLocation: boolean,
showAccuracyCircle: boolean,
onViewStateChange?: Function,
onViewportChange?: Function,
onGeolocate?: Function
}>;
export default function GeolocateControl(props: GeolocateControlProps): ReactElement;