Skip to content

TTMSFMXNativeCLGeoCoder

Usage

The TMSFMXNativeCLGeoCoder component provides services for converting between a coordinate (specified as a latitude and longitude) and the user-friendly representation of that coordinate. A user-friendly representation of the coordinate typically consists of the street, city, state, and country information corresponding to the given location, but it may also contain a relevant point of interest, landmarks, or other identifying information.

Methods

Method name Description
GetGeocodeLocation Overload that accepts a location record or latitude and longitude double and starts a request to translate the location to an array of placemarks which contain information about the requested location.
GetReverseGeocodeLocation Accepts an address string and starts a request to translate to address to an array of placemarks which contain information about the requested address.

Events

Event name Description
OnGetGeocodeLocation Event called when an address is passed to the GetGeocodeLocation method and placemarks for that address are found. A placemark holds the location for that address. Multiple placemarks can be found for one address
OnGetGeocodeError Event called when an Address is passed to the GetGeocodeLocation and an error occurred during the request.
OnGetReverseGeocodeLocation Event called when a location is passed to the GetReverseGeocodeLocation and placemarks for that location are found. A placemark holds the address for that location. Multiple placemarks can be found for one location.
OnGetReverseGeocodeError Event called when a location is passed to the GetReverseGeocodeLocation method and an error occurred during the request.