On Monday, June 21, 2010,  <christopher.schm...@nokia.com> wrote:
>
> On Jun 21, 2010, at 3:42 PM, ext Manuel Reimer wrote:
>
>> JuKiM wrote:
>>> lyrTest = new OpenLayers.Layer.Vector('Test');
>>> map.addLayer(lyrTest);
>>>
>>> But it is always displayed on top.. I use that layer to draw lines and
>>> polygons.. And when the polygons are drawn, I can't click the markers that
>>> are under them..
>>
>> Seems like this depends on the order of the "addLayer" calls. You have
>> to "addLayer" our markers layer as last layer. Add all your polygon
>> layers before it.
>
> Vector layers are special. THey always go on top so you can select from
> them.

Right, as long as you have an active control that uses a Feature
handler (e.g. SelectFeature control).

-- 
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.lemo...@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to