On Jul 13, 8:01 am, Nathan <[email protected]> wrote: > One of the problems I have having with that answer is everyone > mentions that there is better ways to do this, but I have not found > one with working examples. I have spent over 20 hours trying to figure > out what I am doing wrong, and have nothing working yet. What is > suppose to work, has not worked an produces no markers on the map.
The issue you are having is geocoding known addresses. You need to geocode them offline and store the latitude and longitude in your database (as Rossko suggested). You can certainly geocode them inline like you are trying to do, but given the quotas and the "speed limit" on geocoding, the page will take a really long time to load. You need to get past this problem before it makes any sense to use the marker manager or the clusterer solutions. Examples of geocoding multiple addresses: http://www.geocodezip.com/example_geomulti_bad.asp http://www.geocodezip.com/example_geomulti_better.asp http://www.geocodezip.com/example_geomulti_bad2.asp http://www.geocodezip.com/example_geomulti_better2.asp http://www.geocodezip.com/example_geomulti_bad3_xml.asp http://www.geocodezip.com/example_geomulti_bad3_xml.asp?filename=GFCOffice-2_good.xml -- Larry > > specifically using the markerManger... > > // Add the array to the MarkerManager > mgr.addMarkers(markers); > // Refresh the MarkerManager to make the markers appear on the map > mgr.refresh(); > > That has not worked (I have played with the code for many hours, I > dont understand what I did wrong). > > I understand that is the correct way to do this, but if it does not > work, I cannot use > it.http://www.svennerberg.com/2009/01/handling-large-amounts-of-markers-... > > can you post (or anyone) specific examples of the correct way to do > this. > > I will be posting anywhere from 5-100 markers at a time using a self > created xml file on the fly (php). > > thank you. > Nathan > > On Jul 10, 4:33 am, Rossko <[email protected]> wrote: > > > > > > I have seen a few posts on this issue, and I understand that Google > > > will not allow you to pull to much mapping of markers all at ones. If > > > I do 5 or less, it seems to work, if I do 10 I might get 5-9 of them, > > > if I do 25, I get about half. > > > Just don't geocode multiple addresses over and over again, every time > > someone looks at your page. It's slow, error-prone and wasteful of > > resources that other API users share with you. > > > Have a look at some of these > > -http://groups.google.com/group/Google-Maps-API/search?q=geomulti&star... > > > cheers, Ross K- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
