react-leaflet-vector-tile-layer
Version:
React Leaflet V3 layer for displaying vector tiles
10 lines (9 loc) • 443 B
TypeScript
/// <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;