This bug might be related to http://bugs.webkit.org/show_bug.cgi?id=11931 If you mouse over the polygons in the map the corresponding color in the legend should hightlight (with a black stroke). For more complex polygons Webkit often fails. I haven't figured out the reason yet. Other implementations (Batik, Opera, FF, etc.) seem to work fine.
We really need a more reduced test case than that one.
to me it seems like all the polygons that have a hole fail in hit testing, while other polygons work. I will try to come up with a reduced testcase. Andreas
I'm pretty sure this is fixed by the fix for bug 11931
yes, it might be fixed by bug 11931 (haven't checked), will check when it is landed and available in the nightlies Note that the paths generated in my mapping examples are usually not explicitly closed (with a "z" or "Z" path command) because the spatial database (Postgis) I use outputs the path in a way that it "closes" the path by repeating the initial "M" coordinate. In case of relative paths, they might not match exactly. So, lets have a look at again, after the fix for 11931 is available. Thanks, Andraes
Please confirm this is fixed for you in the latest nightlies or under leopard. bug 11931 was fixed, I reopend it to track removing the workaround under Leopard.