Add style property "display" to vector feature style. If display is "none" the feature won't be rendered and there's a DOM node for that feature it'll be removed. Commiting this on behalf of ahocevar. Thanks Andreas for the patch. r=crschmidt. (closes #1173).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5541 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -265,6 +265,7 @@ OpenLayers.Feature.Vector = OpenLayers.Class(OpenLayers.Feature, {
|
||||
* - graphicOpacity
|
||||
* - graphicXOffset
|
||||
* - graphicYOffset
|
||||
* - display
|
||||
*/
|
||||
OpenLayers.Feature.Vector.style = {
|
||||
'default': {
|
||||
|
||||
Reference in New Issue
Block a user