Properties
Optional controls
controls: any
id
id: string
Optional infopanel
Optional legend
Optional onAdd
onAdd: () => void
Optional onData
onData: (result: any) => void
Optional onInit
onInit: () => void
Optional onMarkerClick
onMarkerClick: (marker: any, data: any) => void
Type declaration
-
- (marker: any, data: any): void
Optional onRemove
onRemove: () => void
Optional onShapeClick
onShapeClick: (shape: any, data: any) => void
Type declaration
-
- (shape: any, data: any): void
Optional source
source: LayerOptions
Optional type
type: "vector" | "geojson" | "text"