On May 27, 3:49 pm, "en...@medrise.com" <en...@medrise.com> wrote:
> I want to display the location of the members on my website, but for
> some reason the map does not display all the location.
>
> If I go and add the location manully it works, but when I look the
> results from the database only a few works and some doesn't display
> and I get an error saying that the address was not found.
>
> here is the JS code with the loop that I have in coldfusion.

The Javascript is client-side, so CF code isn't all that helpful. A
link to your web page as requested in the posting guidelines would be
more helpful. We could then see what the client is actually doing.

However, you can't geocode in a loop very easily. It's possible, but
definitely frowned upon and generally it doesn't work. Since you're
doing server-side processing, it would be better to store the
coordinates in your database so they can be output directly to the
page. If there aren't any present, you could use the HTTP geocoder to
put them there ready for next time.

http://econym.org.uk/gmap/geomulti.htm is a standard resource about
multiple geocodes.

Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to