Converts the specified client point to geographic coordinates.
Namespace: MindFusion.Mapping
File: MapView.js
SyntaxJavaScript
Copy Code
|
|---|
function clientToLatLong (point) |
Point. The client point to convert.
LatLong. A LatLong instance representing the geographic location.
ExampleThe 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 ) |
See Also