[OpenLayers-Dev] unable to change zIndex on vector elements

Tim Schaub tschaub at opengeo.org
Fri Jun 18 13:35:29 EDT 2010


Vito Tafuni wrote:
> i've tryed to enable zindexing in the rendererOptions
> and set different values for the graphicZIndex in the map style
> 
> but i cannot select a polygon and let it go on top!
> 
> any solutions??
> 

While it is hard to see unless there are overlapping features, this 
example changes the graphicZIndex property of a symbolizer when a 
feature is rendered with the "select" intent:

http://openlayers.org/dev/examples/stylemap.html

Hope that helps,
Tim

> 
> --
> -----------
> Tafuni Vito
> vito at vitotafuni.com <mailto:vito at vitotafuni.com>
> ---------------------------------------------
> "Verba volant, scripta manent... data corrupted"
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.



More information about the Dev mailing list