Class: IWReverseGeocodingResult

IWReverseGeocodingResult

An event signalling a reverse geocoding result

This class is part of the module geocoding.


new IWReverseGeocodingResult()

Creates a new reverse geocoding result.

Methods


getAddress()

Returns the located address for this coordinate.
Returns:
the address
Type
IWAddress

getDistance()

Returns the distance in meters to the original input coordinate.
Returns:
the distance in meters to the original input coordinate
Type
number

setAddress(address)

Sets the located address for this coordinate.
Parameters:
Name Type Description
address IWAddress
Returns:
Type
void

setDistance(distance)

Sets the distance in meters to the original input coordinate.
Parameters:
Name Type Description
distance number the distance in meters to the original input coordinate.
Returns:
Type
void

toString()

Returns a string representation of this reverse geocoding result.
Returns:
Type
String