A | |
activate | |
addLayer, OpenLayers. | |
addLayers, OpenLayers. | |
addSelectionByIds | |
C | |
clear | |
D | |
deactivate | |
destroy | |
G | |
getFeatureId, OpenLayers. | |
getLocationFromHandler, FeaturePopups_Utils | |
getSelectionIds | |
R | |
removeLayer, OpenLayers. | |
removeSelectionByIds | |
S | |
setSelectionByIds | |
showSingleFeatureById | |
U | |
unselectAll, OpenLayers. | |
unselectGeneric, OpenLayers. | |
unselectLayer, OpenLayers. |
Activates the control.
activate: function()
activate: function()
Add the layer to control and assigns it the templates, see options.
addLayer: function( layer, options )
addLayers: function( layers )
addSelectionByIds: function( layer, featureIds, silent )
addSelectionByIds: function( featureIds, silent )
Clear selecction and popups.
clear: function()
Clear the popup and related popups.
clear: function()
Deactivates the control.
deactivate: function()
deactivate: function()
destroy: function()
destroy: function()
destroy: function()
Returns the id of the feature used specifically for this layer.
this.getFeatureId = function( feature )
Get location from event handler.
OpenLayers.Control.FeaturePopups_Utils.getLocationFromHandler = function( featureHandler, feature )
getSelectionIds: function( layer )
getSelectionIds: function()
removeLayer: function( layer )
removeSelectionByIds: function( layer, featureIds, silent )
removeSelectionByIds: function( featureIds, silent )
setSelectionByIds: function( layer, featureIds, silent )
setSelectionByIds: function( featureIds, silent )
showSingleFeatureById: function( layer, featureId )
See featureContext at FeaturePopups.addLayer to know how to use “id” or “fid” of features.
showSingleFeatureById: function( featureId, origin )
Unselect all selected features, only works if the control is active.
unselectAll: function()
Unselect all selected features on layers on the control that don’t have popupOptions.
unselectGeneric: function()
Unselect all selected features on the layer, only works if the control is active and layer is on the control.
unselectLayer: function( layer )