To be fairer, this is slow in new browers and unusable in old browsers. On Fri, Dec 11, 2009 at 5:36 PM, Ben Appleton <[email protected]> wrote:
> It looks like you're rendering about 80 polygons, each with hundreds to > thousands of vertices. This works but is slow in old browsers. If you need > faster performance I suggest simplifying your polygons beforehand using an > algorithm such as > http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm, removing > vertices until performance is acceptable. > <http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm> > On Fri, Dec 11, 2009 at 4:24 PM, Erwin Quinto <[email protected]>wrote: > >> Hi, >> >> Good day everyone, on our project we are trying to render a polygon >> for each of the 80 provinces in the map. We followed the procedure on >> how to create polygons based from the version 3 api documentation. >> http://code.google.com/apis/maps/documentation/v3/overlays.html#Polygons >> >> But we ran into a performance issue. Browser loads very slow when >> displaying our map. >> http://philmap.000space.com/gmap-api/provinces-polygons/province-polys.html >> >> Do any of you have suggestions on how to we can overcome this? >> >> -- >> >> 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]<google-maps-js-api-v3%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-maps-js-api-v3?hl=en. >> >> >> > -- 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.
