[OpenLayers-Users] how to set z index of polygons and markers

Janis Elmeris janis.elmeris at intelligentsystems.lv
Thu Jul 28 09:14:46 EDT 2011


Try setting graphicZIndex 
(http://dev.openlayers.org/docs/files/OpenLayers/Feature/Vector-js.html)!

Janis

On 2011.06.10. 0:43, JK Chen wrote:
>
> Hi,
>
> I have hundreds of polygons (feautres), each associated with a marker 
> object of OpenLayer.Marker. I want to set the z index for all of them. 
> Anyone knows how to do this via OpenLayers api? Or, how to do this via 
> javascript?
>
> Your ideas are very much appreciated.
>
> Thank you.
>
> JK
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110728/e3a47826/attachment.html


More information about the Users mailing list