OptionalapiKey?: stringAPI key for services call (reverse geocode service). The key "calcul" is used by default.
Optionalcollapsed?: booleanSpecify if widget has to be collapsed (true) or not (false) on map loading. Default is true.
Optionaldelimitations?: anydelimitations for reverse geocoding, by default : ["Point", "Circle", "Extent"]. Possible values are : "Point", "Circle", "Extent". Delimitations will be displayed in the same order in widget list.
Optionaldraggable?: booleanSpecify if widget is draggable
Optionalid?: numberAbility to add an identifier on the widget (advanced option)
OptionallayerDescription?: { description?: string; title?: string }Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)
Optionaldescription?: stringLayer description to be displayed in LayerSwitcher
Optionaltitle?: stringLayer title to be displayed in LayerSwitcher
Optionalresources?: anyresources for geocoding, by default : ["StreetAddress", "PositionOfInterest", "CadastralParcel"]. Possible values are : "StreetAddress", "PositionOfInterest", "CadastralParcel". Resources will be displayed in the same order in widget list.
OptionalreverseGeocodeOptions?: anyreverse geocode service options. see Gp.Services.reverseGeocode() to know all reverse geocode options.
Optionalssl?: stringuse of ssl or not (default true, service requested using https protocol)
{Boolean} specify if reverseGeocoding control is collapsed (true) or not (false)
ProtecteddisposedThe object has already been disposed.
{Boolean} specify if reverseGeocoding control is draggable (true) or not (false)
ProtectedlistenerKey name.
Listener.
Type.
Listener.
ProtectedapplyProtectedApply any properties from another object without triggering events.
The source object.
Dispatches an event and calls all listeners listening for events
of this type. The event parameter can either be a string or an
Object with a type property.
Event object.
false if anyone called preventDefault on the
event object or if any of the listeners returned false.
Clean up.
ProtecteddisposeProtectedExtension point for disposable objects.
Returns true if widget is collapsed (minimized), false otherwise
collapsed - true if widget is collapsed
Get container
container
Get locations data
data - locations
Get the listeners for a specified event type. Listeners are returned in the order that they will be called in.
Type.
Listeners.
Get an object of all property names and values.
Object.
Optionaltype: stringType. If not provided,
true will be returned if this event target has any listeners.
Has listeners.
The object has properties.
Key name.
Old value.
ProtectedonceProtectedonKey name.
Listener.
Type.
Listener.
Collapse or display widget main container
True to collapse widget, False to display it
Overwrite OpenLayers setMap method
Map.
This function is used to set a target element for the control. It has no
effect if it is called after the control has been added to the map (i.e.
after setMap is called on the control). If no target is set in the
options passed to the control constructor and if setTarget is not called
then the control is added to the map's overlay container.
Target.
ProtectedunProtectedUnlisten for a certain type of event.
Type.
Listener.
ReverseGeocode control options