OpenLayers JavaScript Mapping Library |
OpenLayers. Feature. VectorVector features use the OpenLayers.Geometry classes as geometry description. They have an ‘attributes’ property, which is the data object, and a ‘style’ property, the default values of which are defined in the OpenLayers.Feature.Vector.style objects. Inherits fromSummary
OpenLayers. Feature. VectorCreate a vector feature. Parameters
clone
Create a clone of this vector feature. Does not set any non-standard properties. Returns{OpenLayers.Feature.Vector} An exact clone of this vector feature. createMarker
Returns{OpenLayers.Marker} For now just returns null createPopup
Returns{OpenLayers.Popup} For now just returns null atPoint
Determins whether the feature intersects with the specified location. Parameters
Returns{Boolean} Whether or not the feature is at the specified location OpenLayers. Feature. Vector. styleOpenLayers features can have a number of style attributes. The ‘default’ style will typically be used if no other style is specified. Default style properties
Other style properties that have no default values
|
nullify references to prevent circular references and memory leaks
destroy: function()
Create a clone of this vector feature.
clone: function ()
onScreen:function()
createMarker: function()
destroyMarker: function()
createPopup: function()
Determins whether the feature intersects with the specified location.
atPoint: function( lonlat, toleranceLon, toleranceLat )
destroyPopup: function()
Sets the new state
toState: function( state )