rc-leaflet
Version:
React Map Components of Leaflet
12 lines (11 loc) • 502 B
TypeScript
/// <reference types="react" />
import L from 'leaflet';
import LayerGroup from '../LayerGroup';
declare type Props = Readonly<L.PathOptions>;
export default class FeatureGroup<T extends L.FeatureGroup = L.FeatureGroup, P extends L.LayerOptions = L.LayerOptions> extends LayerGroup<T, Props & P> {
protected createInstance(props: Props & P): L.FeatureGroup;
protected readonly theme: L.PathOptions;
protected readonly pathOptions: L.PathOptions;
render(): React.ReactNode;
}
export {};