UNPKG

@goongmaps/goong-map-react

Version:

A fork of react-map-gl. React components for Goong JS

32 lines (30 loc) 719 B
/** * Flowtype definitions for static-map * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ import { Element } from "react"; import type { MapboxProps } from "../goong/goong"; export type StaticMapProps = { ...MapboxProps, ...$Rest< { className: string, style: any, disableTokenWarning: boolean, visibilityConstraints: any, children: any, onResize: Function, ... }, { ... } >, }; export interface MapRef { getMap(): any; queryRenderedFeatures( geometry: [number, number] | [[number, number], [number, number]], options?: any ): Array<any>; } declare export default function StaticMap(props: StaticMapProps): Element;