Class madrona.map.geocoder
Defined in: geocoder.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
madrona.map.geocoder(plugin, location)
Creates a module that listens to the given form for a new location, adds it
to the map, and pans/zooms the map.
|
| Method Attributes | Method Name and Description |
|---|---|
| <inner> |
callback(e)
|
| <inner> |
clearPlacemark(dont_clear_input)
|
|
destroy()
Prepare instance for destruction by remove event listeners.
|
Class Detail
madrona.map.geocoder(plugin, location)
Creates a module that listens to the given form for a new location, adds it
to the map, and pans/zooms the map.
- Parameters:
- {GEPlugin} plugin
- An instance of GoogleEarthExtensions
- {HTMLFormElement} location
- A form with a single text input for a location to geocode
Method Detail
<inner>
callback(e)
- Parameters:
- e
<inner>
clearPlacemark(dont_clear_input)
- Parameters:
- dont_clear_input
destroy()
Prepare instance for destruction by remove event listeners.