Gets or sets the URL of the image displayed by this Marker.
Namespace: MindFusion.Mapping
Package: Marker.js
JavaScript Copy Code |
---|
Object.defineProperty(Marker.prototype, "imageSrc", { value: String }); |
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); |