GeoGetLatLng
Use this method to return the Latitude and Longitude of a physical address. This extension is used with the Map control.
Group: Server Extensions
Syntax:
MapControlPromptID.map.
bVal = Server.GeoGetLatLng (sAddr, sLat, sLng)
bValue (Boolean) True means the conversion was retrieved; False means it failed.
sAddr: (String) is the address of the location
sLat: (String) is the latitude of the location
sLng: (String) is the longitude of the location
Example:
Server.GeoGetLatLng(txtAddress.Text, textLat.Text, textLng.Text, True)
Version Supported: RFgen 5.1 and newer.