Hi, I've spent the last day or so troubleshooting why the polygons where disappearing from my map when scrolling the map. I've been all through this gruoup and the wider net without any joy. The post here "Disappearing Polygon Overlay" was the closest even though it was about zooming not moving but my coordinates where floats not strings.
However that turned out to be the answer in a way because I was setting the size of the map in the constructor and the width and height were being passed to the javascript as strings. Here's an example map with the size set with strings: http://www.geocities.com/alan_brookland/test-disappears.html And the same map with the size set with numbers: http://www.geocities.com/alan_brookland/test-works.html I guess this hasn't really come up before because most people set the size via inline style or css on the div but as I was creating a CMS addon I wanted maximum control from the backend and went for that option. Just thought I'd post this here in case anyone else does the same. Cheers, Alan. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
