Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 activate
 addLayer, OpenLayers.Control.FeaturePopups
 addLayers, OpenLayers.Control.FeaturePopups
 addLayerToControl, OpenLayers.Control.FeaturePopups
 addSelectionByIds
 applyDeselection, OpenLayers.Control.FeaturePopups.Layer
 applySelection, OpenLayers.Control.FeaturePopups.Layer
C
 clear
 clearPopup, OpenLayers.Control.FeaturePopups.Popup
 create, OpenLayers.Control.FeaturePopups.Popup
 createPopupObjs, FeaturePopups_Utils
D
 deactivate
 destroy
 draw, OpenLayers.Control.FeaturePopups
G
 getFeatureId, OpenLayers.Control.FeaturePopups.Layer
 getLayerObj, OpenLayers.Control.FeaturePopups
 getLocationFromHandler, FeaturePopups_Utils
 getSelectionIds
 getSingleFeatures, OpenLayers.Control.FeaturePopups.Layer
 getSingleHtml, OpenLayers.Control.FeaturePopups.Layer
H
 highlightFeature, OpenLayers.Control.FeaturePopups.Layer
I
 isEmptyObject, OpenLayers.Control.FeaturePopups.Layer
O
 observeShowPopup, OpenLayers.Control.FeaturePopups.Popup
 onAddlayer, OpenLayers.Control.FeaturePopups
 onBeforefeaturesremoved, OpenLayers.Control.FeaturePopups.Layer
 onChangelayer, OpenLayers.Control.FeaturePopups
 onFeaturehighlighted, OpenLayers.Control.FeaturePopups
 onFeaturesadded, OpenLayers.Control.FeaturePopups.Layer
 onFeatureselected, OpenLayers.Control.FeaturePopups.Layer
 onFeaturesremoved, OpenLayers.Control.FeaturePopups.Layer
 onFeatureunhighlighted, OpenLayers.Control.FeaturePopups
 onFeatureunselected, OpenLayers.Control.FeaturePopups.Layer
 onRemovelayer, OpenLayers.Control.FeaturePopups
 onSelectBox, OpenLayers.Control.FeaturePopups
P
 prepareTemplate, OpenLayers.Control.FeaturePopups.Layer
R
 refreshFeatures, OpenLayers.Control.FeaturePopups.Layer
 refreshLayers, OpenLayers.Control.FeaturePopups
 refreshSelection, OpenLayers.Control.FeaturePopups.Layer
 removeChildren, OpenLayers.Control.FeaturePopups.Popup
 removeLayer, OpenLayers.Control.FeaturePopups
 removeSelectionByIds
 renderTemplate, OpenLayers.Control.FeaturePopups.Layer
S
 setMap, OpenLayers.Control.FeaturePopups
 setSelectionByIds
 showListItem, OpenLayers.Control.FeaturePopups.Popup
 showListPopup, FeaturePopups_Utils
 showPopup, OpenLayers.Control.FeaturePopups.Popup
 showSingleFeatureById
 storeAsSelected, OpenLayers.Control.FeaturePopups.Layer
U
 unselectAll, OpenLayers.Control.FeaturePopups
 unselectGeneric, OpenLayers.Control.FeaturePopups
 unselectLayer
activate: function()
Activates the control.
activate: function()
addLayer: function(layer,
options)
Add the layer to control and assigns it the templates, see options.
addLayers: function(layers)
addLayerToControl: function(layer,
options)
addSelectionByIds: function(layer,
featureIds,
silent)
addSelectionByIds: function(featureIds,
silent)
applyDeselection: function(silent)
applySelection: function(silent)
clear: function()
Clear selecction and popups.
clear: function()
Clear the popup and related popups.
clearPopup: function()
Clear the popup if it is showing.
create: function(lonLat,
html,
panMap)
Create the popup.
OpenLayers.Control.FeaturePopups_Utils.createPopupObjs = function(environments,
popupOptions,
popupDefaults)
deactivate: function()
Deactivates the control.
deactivate: function()
destroy: function()
destroy: function()
destroy: function()
draw: function()
This control does not have HTML component, so this method should be empty.
this.getFeatureId = function(feature)
Returns the id of the feature used specifically for this layer.
getLayerObj: function(layer)
OpenLayers.Control.FeaturePopups_Utils.getLocationFromHandler = function(
   featureHandler,
   feature
)
Get location from event handler.
getSelectionIds: function(layer)
getSelectionIds: function()
getSingleFeatures: function(features)
getSingleHtml: function(feature)
highlightFeature: function(feature)
Internal use only.
isEmptyObject: function(obj)
observeShowPopup: function(div)
Internal use only.
onAddlayer: function(evt)
Listens only if the control it is active, internal use only.
onBeforefeaturesremoved: function(evt)
Called before some features are removed, only used when mode contains OpenLayers.Control.FeaturePopups.SAFE_SELECTION.
onChangelayer: function(evt)
Internal use only.
onFeaturehighlighted: function(evt)
Internal use only.
onFeaturesadded: function(evt)
Called when some features are added, only used when value of mode conbtains OpenLayers.Control.FeaturePopups.SAFE_SELECTION.
onFeatureselected: function(evt)
onFeaturesremoved: function(evt)
Called when some features are removed, only used when mode = OpenLayers.Control.FeaturePopups.CLOSE_ON_REMOVE
onFeatureunhighlighted: function(evt)
onFeatureunselected: function(evt)
Called when the select feature control unselects a feature.
onRemovelayer: function(evt)
Internal use only.
onSelectBox: function(position)
Callback from the handlerBox set up when selectBox is true.
prepareTemplate: function(template)
When the template is a string returns a prepared template, otherwise returns it as is.
refreshFeatures: function()
refreshLayers: function(useCursorLocation)
refreshSelection: function()
removeChildren: function(div)
Internal use only.
removeLayer: function(layer)
removeSelectionByIds: function(layer,
featureIds,
silent)
removeSelectionByIds: function(featureIds,
silent)
var renderTemplate = function(template,
context,
extendedContext)
Given a string with tokens in the form ${token}, return a string with tokens replaced with properties from the given context object.
setMap: function(map)
Set the map property for the control.
setSelectionByIds: function(layer,
featureIds,
silent)
setSelectionByIds: function(featureIds,
silent)
showListItem: function(evt)
Internal use only.
OpenLayers.Control.FeaturePopups_Utils.showListPopup = function(
   popupObjs,
   selectedFeatures,
   bounds,
   html,
   staticInvalid,
   useCursorLocation,
   featureHandler
)
showPopup: function(selection,
lonLat,
html,
panMap,
origin)
Shows the popup if it has changed, and clears it previously
showSingleFeatureById: function(layer,
featureId)
showSingleFeatureById: function(featureId,
origin)
See featureContext at FeaturePopups.addLayer to know how to use “id” or “fid” of features.
storeAsSelected: function(feature)
unselectAll: function()
Unselect all selected features, only works if the control is active.
unselectGeneric: function()
Unselect all selected features on layers on the control that don’t have popupOptions.
unselectLayer: function(layer)
Unselect all selected features on the layer, only works if the control is active and layer is on the control.
unselectLayer: function(selControl)
Unselect all selected features by `selControl` on the layer.
Close