[OpenLayers-Users] Priority for marker

Kris Geusebroek kgeusebroek at xebia.com
Mon Jul 6 01:57:05 EDT 2009


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-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Admin TrouveTonGull.info
Sent: Saturday, July 04, 2009 3:34 PM
To: users at 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 at openlayers.org
http://openlayers.org/mailman/listinfo/users



More information about the Users mailing list