Instantiates a geocoder control (to be invoked using new
)
the options
Alias for on(...)
Adds a listener function (fn) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. 'click dblclick').
Alias for on(...)
Adds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}
Adds an event parent - an Evented that will receive propagated events
Alias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Alias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Alias for off()
Removes all listeners to all events on the object.
Fires an event of the specified type. You can optionally provide a data object — the first argument of the listener function will contain its properties. The event might can optionally be propagated to event parents.
Alias for fire(...)
Fires an event of the specified type. You can optionally provide a data object — the first argument of the listener function will contain its properties. The event might can optionally be propagated to event parents.
Alias for listens(...)
Returns true if a particular event type has any listeners attached to it.
Returns true if a particular event type has any listeners attached to it.
Marks a geocoding result on the map
Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to on, you must pass the same context to off in order to remove the listener.
Removes a set of type/listener pairs.
Removes all listeners to all events on the object.
Adds a listener function (fn) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. 'click dblclick').
Adds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}
Returns the container DOM element for the control and add listeners on relevant map events.
the map instance
Behaves as on(...), except the listener will only get fired once and then removed.
Behaves as on(...), except the listener will only get fired once and then removed.
Alias for off(...)
Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to on, you must pass the same context to off in order to remove the listener.
Alias for off(...)
Removes a set of type/listener pairs.
Removes an event parent, so it will stop receiving propagated events
Sets the query string on the text input
the query string
Generated using TypeDoc
This is the geocoder control. It works like any other Leaflet control, and is added to the map.