Converts the specified client point to geographic coordinates.
Namespace: MindFusion.Mapping
Package: MapView.js
JavaScript Copy Code |
---|
function clientToLatLong (point) |
Point. The client point to convert.
LatLong. A LatLong instance representing the geographic location.
The following code handles the click event of a MapView and uses the clientToLatLong method to convert the location of the clicked point:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView function mapViewClickHandler( sender, args ) |