Just to illustrate what John said, this is how long it takes to create 100 circles, using the same function but on the server side: http://maps.forum.nu/gm_random_polygons.html (on a cheap co-hosted server)
That's creating custom tiles instead of asking the client to create all those javascript objects. Tiles are recreated with new random circles every time you click 'Refresh'; Of course, if you want any interaction with the polygons you'd need to do something a bit more sophisticated. -- Marcelo - http://maps.forum.nu -- On Jan 30, 8:38 pm, "maps.huge.info [Maps API Guru]" <[email protected]> wrote: > I'm answering this as it's more of a generic problem than one that > requires a link, but in the future, please read the posting > guidelines, they're there for a reason. > > The problem has to do with the number of GPolygon objects you add and > how complex they are. Your circles have a lot of points and as such, > require a lot of processing to draw. You could reduce the number of > points to 8 or 16 and not lose much in the way of being seemingly > circular, that would help but the bottom line is using GPolygon is > expensive in terms of processing power and memory. > > -John Coryat > > http://maps.huge.info > > http://www.usnaviguide.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
