| OpenLayers. | |
| Properties | |
| events | {<OpenLayers.Events>} Events instance for listeners and triggering specific events. |
| Constants | |
| EVENT_TYPES | Only required to use OpenLayers.Control.FeaturePopups with 2.11 or less |
| Properties | |
| eventListeners | {Object} If set on options at construction, the eventListeners object will be registered with <OpenLayers.Events.on>. |
| templates | {Object} Set of templates, see FeaturePopups.addLayer |
| featureContext | {Object} See FeaturePopups.addLayer |
| listContext | {Object} See FeaturePopups.addLayer |
| safeSelection | {Boolean} Read only, true if the control costructor argument in the FeaturePopups.mode have set OpenLayers.Control.FeaturePopups.SAFE_SELECTION. |
| active | {Boolean} The object is active (read-only) |
| Constructor | |
| OpenLayers. | |
| Properties | |
| applyTemplate | {Object} The object contains an applicator of the template for each template name. |
| Functions | |
| destroy | |
| activate | |
| deactivate | |
| clear | Clear selection stored if safeSelection is true. |
| addSelectionByIds | |
| setSelectionByIds | |
| removeSelectionByIds | |
| showSingleFeatureById | See featureContext at FeaturePopups.addLayer to know how to use “id” or “fid” of features. |
| getSelectionIds |
{<OpenLayers.Events>} Events instance for listeners and triggering specific events.
Supported event types: see FeaturePopups.addLayer
Only required to use OpenLayers.Control.FeaturePopups with 2.11 or less
{Object} Set of templates, see FeaturePopups.addLayer
{Object} See FeaturePopups.addLayer
{Object} See FeaturePopups.addLayer
{Boolean} Read only, true if the control costructor argument in the FeaturePopups.mode have set OpenLayers.Control.FeaturePopups.SAFE_SELECTION.
clear: function()
Clear selection stored if safeSelection is true.
showSingleFeatureById: function( featureId )
See featureContext at FeaturePopups.addLayer to know how to use “id” or “fid” of features.
| featureId | {String} id of the feature. |
Add the layer to control and assigns it the templates, see options.
addLayer: function( layer, options )
destroy: function()
activate: function()
deactivate: function()
Clear selection stored if safeSelection is true.
clear: function()
addSelectionByIds: function( featureIds, silent )
setSelectionByIds: function( featureIds, silent )
removeSelectionByIds: function( featureIds, silent )
See featureContext at FeaturePopups.addLayer to know how to use “id” or “fid” of features.
showSingleFeatureById: function( featureId )
getSelectionIds: function()