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