Initializes a new instance of the Marker class.
Namespace: MindFusion.Mapping
File: Marker.js
JavaScript Copy Code |
---|
function Marker ([location]) |
LatLong. The location of this marker in geographical coordinates.
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); |