Gets or sets the URL of the image displayed by this Marker.
Namespace: MindFusion.Mapping
File: Marker.js
JavaScript Copy Code |
---|
get imageSrc() {} |
String. The image URL.
The following code creates a new Marker and adds it to the decorations list of a MapView:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView
view.decorations.add(mark); |