Hi,

You can put the marker layer on top of the polygon one by adding it
after the polygon one, or you can use the new selectFeature (in version
2.8) where you put both layers in the constructor so both be available
for selection functionality

Cheers Kris

-----Original Message-----
From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org]
On Behalf Of Admin TrouveTonGull.info
Sent: Saturday, July 04, 2009 3:34 PM
To: users@openlayers.org
Subject: [OpenLayers-Users] Priority for marker

Hello,

I put markers with GeoRSS and polygons with GML, and when these markers 
are in areas with a polygon, i have a problem:

- I can't click on my marker and display the popup
- When I put the opacity to 1 on my polygons (with a background-color), 
my markers disappear

How to give focus and priority to the markers, and not for polygons?

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

Reply via email to