UNPKG

react-leaflet-vector-tile-layer

Version:
10 lines (9 loc) 443 B
/// <reference types="react" /> import '@maplibre/maplibre-gl-leaflet'; import { LayerProps } from '@react-leaflet/core'; import L, { TileLayerOptions } from 'leaflet'; export interface VectorTileLayerProps extends TileLayerOptions, LayerProps { styleUrl: string; } declare const VectorTileLayer: import("react").ForwardRefExoticComponent<VectorTileLayerProps & import("react").RefAttributes<L.TileLayer>>; export default VectorTileLayer;