UNPKG

urbi-exhibitions

Version:
24 lines (23 loc) 676 B
import { GltfPlugin, PluginOptions } from '@2gis/mapgl-gltf'; import { StyleLoadEvent, Map, MapOptions } from '@2gis/mapgl/types'; import { FC } from 'react'; type MapContainerProps = { apiKey: string; scriptUrl?: string; options?: MapOptions; gltfOptions?: PluginOptions; containerId?: string; className?: string; onLoad?: (params: { instance: Map; gltfPlugin: GltfPlugin; }) => void; onStyleload?: (event: StyleLoadEvent, params: { instance: Map; gltfPlugin: GltfPlugin; }) => void; tilesCache?: boolean; swPath?: string; }; export declare const MapContainer: FC<MapContainerProps>; export {};