@goongmaps/goong-map-react
Version:
A fork of react-map-gl. React components for Goong JS
33 lines (31 loc) • 770 B
Flow
/**
* Flowtype definitions for geolocate-control
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { Element } from "react";
import { MapControlProps } from "./use-map-control";
declare type GeolocateControlProps = {
...MapControlProps,
...$Rest<
{
className: string,
style: Object,
label: string,
auto: boolean,
positionOptions: any,
fitBoundsOptions: any,
trackUserLocation: boolean,
showUserLocation: boolean,
showAccuracyCircle: boolean,
onViewStateChange?: Function,
onViewportChange?: Function,
onGeolocate?: Function,
...
},
{ ... }
>,
};
declare export default function GeolocateControl(
props: GeolocateControlProps
): Element;