I just finished putting together a reporting function that shows polygons for US zip codes. I'm using the javascript api. When running the code on my development box, everything seems fine. A state is selected from a dropdown, and the resulting map contains a list of zip codes (anywhere from 90 - 300 zip codes) matching the query (from a separate database). The polygons for these zip codes are drawn properly.
As soon as I uploaded the application and the lat/lng data to a hosted web site, the javascript api seems to draw a random single polygon. The polygon it draws is within the bounds of the state I selected, but it's nowhere in the data I pass to the api. In comparing the javascript source between the local version and the version running on a web server, it looks identical (same lat/lngs are being requested), but the api seems to return a random polygon instead of the multiple polygons I'm passing. Could this have something to do with a lat/lng limit not enforced when running in local dev mode? I'm still looking but thought I'd throw this out there to see if I got any bites. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
