package.dist.esm.mapbox.create-ref.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-map-gl Show documentation
Show all versions of react-map-gl Show documentation
React components for Mapbox GL JS-compatible libraries
The newest version!
import type { MapInstance, MapStyle, Callbacks } from '../types';
import type Mapbox from './mapbox';
/** These methods may break the react binding if called directly */
declare const skipMethods: readonly ["setMaxBounds", "setMinZoom", "setMaxZoom", "setMinPitch", "setMaxPitch", "setRenderWorldCopies", "setProjection", "setStyle", "addSource", "removeSource", "addLayer", "removeLayer", "setLayerZoomRange", "setFilter", "setPaintProperty", "setLayoutProperty", "setLight", "setTerrain", "setFog", "remove"];
export declare type MapRef = {
getMap(): MapT;
} & Omit;
export default function createRef(mapInstance: Mapbox): MapRef | null;
export {};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy