[OpenLayers-Users] WMS and Vector layer z indexing

Eric Lemoine eric.lemoine at camptocamp.com
Sat May 21 06:20:52 EDT 2011


On Friday, May 20, 2011, ChiefDan <ChiefDan at gmail.com> wrote:
> I have some WMS layers that I would like to be drawn above my features of a
> particular vector layer.
> I've experimented with map.raiseLayer(), raising the WMS layers up by a
> delta of 2 relative to the vector layer, but the features from the vector
> layer are still drawn on top.

Do you have an active SelectFeature control? If so the control (its
handler, really) puts the vector on top of all other layers.

Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list