Wraps a Dojo widget, provide geolocalisation of the widget and interface to Layer class.
This class allows to add a widget in a dojox.geo.openlayers.Layer
.
Parameter | Type | Description |
---|---|---|
params | Object | The parameters describing the widget. |
See the dojox/geo/openlayers/_base.WidgetFeature reference documentation for more information.
From projected coordinates to screen coordinates
Parameter | Type | Description |
---|---|---|
p | Object | Object with x and y fields |
Creates, if necessary the widget and returns it
Sets the layer to which this Feature belongs
Called when the feature is added to the Layer.
Parameter | Type | Description |
---|---|---|
l | dojox/geo/openlayers/Layer |
Places the widget with the computed x and y values
Parameter | Type | Description |
---|---|---|
box | undefined |
Returns the coordinate system in which coordinates of this feature are expressed.
The coordinate system in which coordinates of this feature are expressed.
Returns the Layer to which this feature belongs.
The layer to which this feature belongs.
Returns the parameters describing the widget.
The parameters describing the widget.
removes this feature.
Remove this feature by disconnecting the widget from the dom.
renders the widget.
Places the widget accordingly to longitude and latitude defined in parameters. This function is called when the center of the maps or zoom factor changes.
Set the coordinate system in which coordinates of this feature are expressed.
Parameter | Type | Description |
---|---|---|
cs | OpenLayers.Projection | The coordinate system in which coordinates of this feature are expressed. |
Sets the parameters describing the widget.
Parameter | Type | Description |
---|---|---|
params | Object | The parameters describing the widget. |