[OpenLayers-Users] zIndexing across multiple vector layers

Ivan Grcic igrcic at gmail.com
Mon Feb 16 09:39:01 EST 2009


Hi,

you only can have one layer active (on top)

But thers some work going on, you might check, maybe it works there:
http://trac.openlayers.org/ticket/1666
http://dev.openlayers.org/sandbox/ahocevar/singleroot/openlayers/examples/select-feature-multilayer.html
Cheers


On Mon, Feb 16, 2009 at 2:57 PM, dalsinao <dalsinao at yahoo.es> wrote:
>
> Hello list,
>
> I want to be able to change the z-order of features on Vector layers. I have
> checked this Z-Index ordering example (ordering.html) and it works when you
> are dealing with a single Vector layer; however, I have more than one vector
> layer and it may happen that features from different layers are located one
> on top of the other.
> In these cases I want to be able to change the feature displayed on top,
> regardless of which layer the feature belongs.
>
> I have tried playing with the graphicZIndex, but it only seems to affect
> features on the same layer and it does not help to go on top of features in
> separate layers.
>
> Do you know if it's possible and how can I achieve this?
>
> Thank you in advance for any help.
> David
> --
> View this message in context: http://n2.nabble.com/zIndexing-across-multiple-vector-layers-tp2334946p2334946.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Ivan Grcic



More information about the Users mailing list