synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines • 713 B
TypeScript
export type MapProps = {
/** If selected, then the map will only show locations for users in a particular team. */
teamId?: string;
/** Override the Google Maps API key used by the component. Useful for Storybook. */
apiKeyOverride?: string;
};
/**
* Returns a map component showing the locations of Synapse users. Note that this component must be wrapped in a container with defined size, or else the map will not appear.
* Note that the geolocation data is updated via a cron job, so the map will not update in real time.
* @param props
* @returns
*/
declare function Map(props: MapProps): import("react/jsx-runtime").JSX.Element;
export default Map;
//# sourceMappingURL=GoogleMap.d.ts.map