> The map is only displaying 5 markers now > so thats 10 lines of code as there is two lines for each marker, the > database is much bigger then this and will be displaying upto 1000 > markers at a time so that would mean 2000 lines, Bascily i need a way > to cut down on the amount of lines of code to add the markers, the > page is developed in php using a mySQL DB.
Did you get to this part of the tutorial, which separates code from data? http://econym.org.uk/gmap/basic3.htm Ultimately to display 1000 markers you'd need to transfer 1000 coordinates (and perhaps descriptions) whichever way you go about it. The usual recommendation is to try to limit to a few hundred (whose eyes are good enough to make sense of a thousand anyway?) but you may find it worth looking into 'clustering' later, after you have the basics working. cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
