g3ortega / polygonzo

Automatically exported from code.google.com/p/polygonzo
Other
0 stars 0 forks source link

Mouse rollover not working with Polygon geometry #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed that the rollover seems to be having an issue where it only works for 
MultiPolygons. It's not an issue in your demo because they're all 
multipolygons, but if you try to use regular 'polygon' and 'multipolygon', only 
the multipolygons will show the rollover. Type 'polygon' will give you an error 
that says coords[zoom] is undefined @ whatever zoom you're on. I fixed it for 
my use by just using all mutipolygons and removing the code in polygonzo.js 
that differentiates b/t multi and regular polygons.

Thanks to Kat for the original report: 
http://code.google.com/p/polygonzo/issues/detail?id=11#c5

Original issue reported on code.google.com by m...@mg.to on 21 Jul 2011 at 10:06

GoogleCodeExporter commented 9 years ago
Fixed in revision 5cdd23abf68a

Original comment by m...@mg.to on 21 Jul 2011 at 10:07