Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm not sure if it's related to the openlayer module or to the openlayer api itself ...
when I draw a polygon, I can't create a new polygon/line/point overlaping this first polygon if one point is located inside the first polygon. Instead of creating the new point, the first polygon is selected ...
tested with the latest -dev (both geo and openlayers) available
Comments
Comment #1
zzolo CreditAttribution: zzolo commentedThe main problem is that clicking on a polygon selects it. Also, when a polygon is removed, the polygon, but not the vertices points are removed.
Comment #2
phayes CreditAttribution: phayes commentedWe could likely disable the select control while the draw control is active. I'll look into it.
Comment #3
BWPanda CreditAttribution: BWPanda commentedOr make it so that you can only select a polygon with the polygon draw control, only select a line with the line draw control, etc.?
Though I suppose this'll mean you can't draw a polygon within another polygon...
Comment #4
phayes CreditAttribution: phayes commentedI was about 80% through a solution on this when I realized this is actually an upstream bug. Nuts.
Filed at: http://trac.openlayers.org/ticket/2253