Marker's icon. You can either use a custom icon or use on of the defaults such as Icon.DEFAULT_RED.
Unique id for each marker. This property is used to identify a marker and apply operations to itself.
Marker's latitude in EPSG:4326 coordinate system.
Marker's longitude in EPSG:4326 coordinate system.
OnClick event. Only optional.
Generated using TypeDoc
IMarker interface defines all the properties a marker should have.
const marker: IMarker = { id: "87998" icon: Icon.DEFAULT_RED, lat: 20.6492650861356 lng: -103.43710715239851 }