Hello.
Thanks! As you said, it's not an ideal solution, but it works fine! =) Perhaps 
a "raise feature-function" would be something to add to a future release?

************************************************************************
Mvh:
Mårten Swärd
Systemutvecklare/Webbutvecklare, ITs
SMHI, Sveriges Meteorologiska och Hydrologiska Institut
Tel: +46 11 495 8469

-----Ursprungligt meddelande-----
Från: Christopher Schmidt [mailto:[EMAIL PROTECTED] 
Skickat: den 17 januari 2008 15:36
Till: Swärd Mårten
Kopia: users@openlayers.org
Ämne: Re: [OpenLayers-Users] Raise a feature over other features

On Thu, Jan 17, 2008 at 01:57:37PM +0100, Swärd Mårten wrote:
> Hello folks!
> If I draw a small polygon on the map and then draws a large one on top of it 
> then I can't edit the small one because the larger one "blocks the way".. So 
> my question is, is there any way to raise a feature above the other features 
> and bring it to the front?

layer.removeFeatures(lowerFeature)
layer.addFeatures(lowerFeature)

should put it on top, I think.

(I'm not saying this is a good situation, but it should work.) 

Regards,
-- 
Christopher Schmidt
MetaCarta


_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to