On Apr 14, 2:54 am, kennyhp <[email protected]> wrote: > Hello, > I need to position more than 1000 points in a Google map. What I'm > doing now is creating code dynamically, creating a new GMarker for > each of the points. When viewed with MarkerClusterer, but the client > code generated is very large. Am I doing well? Is there any way to do > better? > > Thanks in advance.
Hard to tell what you mean without a link as requested in the posting guidelines: http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical But it sounds like you are putting javascript in your page for each marker. You can reduce your code size by using AJAX techniques. See Mike Williams' tutorial: Part 11 The AJAX Philosophy http://econym.org.uk/gmap/basic11.htm (other pages there should be interesting as well) -- Larry -- 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.
