Gets or sets the latitude of the location.
Namespace: MindFusion.Mapping
Package: LatLong.js
JavaScript Copy Code |
---|
Object.defineProperty(LatLong.prototype, "lat", { value: Number }); |
Number. The latitude 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 ) |