Properties
Optional className
className: string
Optional clickable
clickable: boolean
Optional color
color: string
Optional coordsToLatLng
coordsToLatLng: function
Optional dashArray
dashArray: string
Optional fill
fill: boolean
Optional fillColor
fillColor: string
Optional fillOpacity
fillOpacity: number
Optional filter
filter: function
Type declaration
-
- (featureData: any, layer: any): boolean
-
Parameters
-
featureData: any
-
layer: any
Returns boolean
Optional lineCap
lineCap: string
Optional lineJoin
lineJoin: string
Optional onClick
onClick: any
Optional onEachFeature
onEachFeature: function
Type declaration
-
- (featureData: any, layer: any): void
-
Parameters
-
featureData: any
-
layer: any
Returns void
Optional opacity
opacity: number
Optional pointToLayer
pointToLayer: function
Type declaration
-
- (featureData: any, latlng: any): any
-
Parameters
-
featureData: any
-
latlng: any
Returns any
Optional pointerEvents
pointerEvents: boolean
Optional popupContent
popupContent: string
Optional radius
radius: number
Optional stroke
stroke: boolean
Optional style
style: function
Optional weight
weight: number
GraphicOptions is an interface that contains options, conversion functions, and handlers for putting a graphic on a map
var graphicOptions = { color: "#FF0000", dashArray: "3", fill: true, fillColor: "#FF0000", fillOpacity: .4, opacity: .8, popupContent: "Property1 1
",
radius: 2, weight: 4, stroke: true, lineCap: "",
lineJoin: "", clickable: true, pointerEvents: true, className: "",
onClick: () => { alert('Selected!'); },
onEachFeature: (featureData: any, layer: any) => { }, style: (featureData: any) => {},
filter: (featureData: any, layer: any) => { return false; },
coordsToLatLng: (coords: any[]) => { return ""; }, pointToLayer: (featureData: any, latlng: any) => {} };