| A | |
| activate | |
| addLayer, OpenLayers. | |
| addLayers, OpenLayers. | |
| addLayerToControl, OpenLayers. | |
| addSelectionByIds | |
| applyDeselection, OpenLayers. | |
| applySelection, OpenLayers. | |
| C | |
| clear | |
| clearPopup, OpenLayers. | |
| create, OpenLayers. | |
| D | |
| deactivate | |
| destroy | |
| draw, OpenLayers. | |
| G | |
| getFeatureId, OpenLayers. | |
| getLocationFromSelPixel, OpenLayers. | |
| getSelectionIds | |
| getSingleFeatures, OpenLayers. | |
| getSingleHtml, OpenLayers. | |
| H | |
| highlightFeature, OpenLayers. | |
| I | |
| isEmptyObject, OpenLayers. | |
| O | |
| observeShowPopup, OpenLayers. | |
| onAddlayer, OpenLayers. | |
| onBeforefeaturesremoved, OpenLayers. | |
| onChangelayer, OpenLayers. | |
| onFeaturehighlighted, OpenLayers. | |
| onFeaturesadded, OpenLayers. | |
| onFeatureselected, OpenLayers. | |
| onFeaturesremoved, OpenLayers. | |
| onFeatureunhighlighted, OpenLayers. | |
| onFeatureunselected, OpenLayers. | |
| onRemovelayer, OpenLayers. | |
| onSelectBox, OpenLayers. | |
| P | |
| prepareTemplate, OpenLayers. | |
| R | |
| refreshFeatures, OpenLayers. | |
| refreshLayers, OpenLayers. | |
| refreshSelection, OpenLayers. | |
| removeChildren, OpenLayers. | |
| removeLayer, OpenLayers. | |
| removeSelectionByIds | |
| renderTemplate, OpenLayers. | |
| S | |
| setMap, OpenLayers. | |
| setSelectionByIds | |
| showListItem, OpenLayers. | |
| showPopup, OpenLayers. | |
| showSingleFeatureById | |
| storeAsSelected, 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 )
addLayerToControl: function( layer, options )
addSelectionByIds: function( layerId, featureIds, silent )
addSelectionByIds: function( featureIds, silent )
applyDeselection: function( silent )
applySelection: function( silent )
Clear selecction and popups.
clear: function()
Clear selection stored if safeSelection is true.
clear: function()
Clear the popup and related popups.
clear: function()
Clear the popup if it is showing.
clearPopup: function()
Create the popup.
create: function( lonLat, html, panMap )
Deactivates the control.
deactivate: function()
deactivate: function()
destroy: function()
destroy: function()
destroy: function()
This control does not have HTML component, so this method should be empty.
draw: function()
Internal use!, see “featureContext” at FeaturePopups.addLayer to know how to use “id” or “fid” of features.
this.getFeatureId = function( feature )
Get selection location.
getLocationFromSelPixel: function( selControl, feature )
getSelectionIds: function( layer )
getSelectionIds: function()
getSingleFeatures: function( features )
getSingleHtml: function( feature )
Internal use only.
highlightFeature: function( feature )
isEmptyObject: function( obj )
Internal use only.
observeShowPopup: function( div )
Listens only if the control it is active, internal use only.
onAddlayer: function( evt )
Called before some features are removed, only used when mode contains OpenLayers.Control.FeaturePopups.SAFE_SELECTION.
onBeforefeaturesremoved: function( evt )
Internal use only.
onChangelayer: function( evt )
Internal use only.
onFeaturehighlighted: function( evt )
Called when some features are added, only used when value of mode conbtains OpenLayers.Control.FeaturePopups.SAFE_SELECTION.
onFeaturesadded: function( evt )
onFeatureselected: function( evt )
Called when some features are removed, only used when mode = OpenLayers.Control.FeaturePopups.CLOSE_ON_REMOVE
onFeaturesremoved: function( evt )
onFeatureunhighlighted: function( evt )
Called when the select feature control unselects a feature.
onFeatureunselected: function( evt )
Internal use only.
onRemovelayer: function( evt )
Callback from the handlerBox set up when selectBox is true.
onSelectBox: function( position )
When the template is a string returns a prepared template, otherwise returns it as is.
prepareTemplate: function( template )
refreshFeatures: function()
refreshLayers: function( useCursorLocation )
refreshSelection: function()
Internal use only.
removeChildren: function( div )
removeLayer: function( layer )
removeSelectionByIds: function( layerId, featureIds, silent )
removeSelectionByIds: function( featureIds, silent )
Given a string with tokens in the form ${token}, return a string with tokens replaced with properties from the given context object.
var renderTemplate = function( template, context, extendedContext )
Set the map property for the control.
setMap: function( map )
setSelectionByIds: function( layerId, featureIds, silent )
setSelectionByIds: function( featureIds, silent )
Internal use only.
showListItem: function( evt )
Shows the popup if it has changed, and clears it previously
showPopup: function( selection, lonLat, html, panMap )
showSingleFeatureById: function( layerId, featureId )
See featureContext at FeaturePopups.addLayer to know how to use “id” or “fid” of features.
showSingleFeatureById: function( featureId )
storeAsSelected: function( feature )