SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class providing a address search control.
Author: JANConstructor Summary | |
IWAddressSearchControl(map)
Creates a new address search control. |
Method Summary | |
void
|
buildBody(container)
Overwrites the buildBody method from IWWindowControl .
|
void
|
searchAddress(address)
Geocodes an address object. |
void
|
searchAddressString(addressString, countryCode)
Geocodes an address string. |
String
|
toString()
Returns a string representation of this address search control. |
Event Summary | |
void
|
triggerOnAddressFound(event)
The onAddressFoundEvent is fired after the geocoder client has returned the geocoded addresses. Register an event listener with IWEventManager.addListener(theAddressSearchControl, 'onaddressfound', yourHandlerMethod(event)); to receive the event. |
Constructor Detail |
IWAddressSearchControl(map)
IWMap map
- the map
Method Detail |
void buildBody(container)
buildBody
method from IWWindowControl
.
HTMLDivElement container
- the body container
void
void searchAddress(address)
IWAddress address
void
void searchAddressString(addressString, countryCode)
String addressString
- the address string
String countryCode
- the country code
void
String toString()
String
Event Detail |
void triggerOnAddressFound(event)
Register an event listener with IWEventManager.addListener(theAddressSearchControl, 'onaddressfound', yourHandlerMethod(event)); to receive the event.
IWGeocodingEvent event
- the geocoding event
void