Gets or sets the longitude of the location.
Namespace: MindFusion.Mapping
Package: LatLong.js
JavaScript Copy Code |
---|
Object.defineProperty(LatLong.prototype, "long", { value: Number }); |
Number. The longitude in degrees.
The following example creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page. It handles its click event and checks at what location the user has clicked.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView var markers = new m.DecorationLayer("Images"); // create some markers with images view.layers.add(markers); function mapViewClickHandler( sender, args ) |