SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A geocoder client is necessary in order to convert an address into coordinates.
Author: JANConstructor Summary | |
IWSimpleGeocoderClient()
Creates a new geocoder client for the gc_simple application. |
Method Summary | |
void
|
geocodeAddress(inputAddress, multihits, object)
Geocodes an address into a coordinate. |
void
|
geocodeAddressString(inputAddress, countryCode, multihits, object)
Geocodes an address string into a coordinate. |
String
|
getUrl()
Returns the url of the geocoder interface. |
void
|
setUrl(newUrl)
Sets the url of the geocoder interface. |
String
|
toString()
Returns a string representation of this geocoder client. |
Event Summary | |
void
|
triggerOnGeocode(event)
The onGeocode event is fired when the address is geocoded. Register an event listener with IWEventManager.addListener(theSimpleGeocoderClient, 'ongeocode', yourHandlerMethod(event)); to receive the event. |
Constructor Detail |
IWSimpleGeocoderClient()
Method Detail |
void geocodeAddress(inputAddress, multihits, object)
IWAddress inputAddress
- an address
boolean multihits
- true
to request a list of geocoded addresses, otherwise only the best one
Object object
- reserved for a user definied object (optional)
void
void geocodeAddressString(inputAddress, countryCode, multihits, object)
String inputAddress
- an address string
String countryCode
- the country code
boolean multihits
- true
to request a list of geocoded addresses, otherwise only the best one
Object object
- reserved for a user definied object (optional)
void
String getUrl()
String
void setUrl(newUrl)
String newUrl
- the URL, e.g. http://iwgeo.mapandroute.de/gc_simple/Simple.jsp
void
String toString()
String
Event Detail |
void triggerOnGeocode(event)
Register an event listener with IWEventManager.addListener(theSimpleGeocoderClient, 'ongeocode', yourHandlerMethod(event)); to receive the event.
IWSimpleGeocodingEvent event
- the geocoding event
void