On Jun 4, 10:49 am, CazPubLib <[email protected]> wrote:
> Hi,
>
> I am developing a web application that uses google maps. I want to
> place markers and links to old pictures of Cazenovia from a database
> at the Library in a google maps on the the public library's website. I
> want a program to upload the whole database so I need to be able to
> just write the address and have google maps find the longitude and
> latitude and place the marker on the map. I am still at the early
> stages of the project. Right now I am trying to get google maps to
> find the latitude and longitude of an address input. I was reading at
> the google map's website that for querying the server in a big for
> loop, I should use http request. I have not gotten to the for loop
> yet. I am just trying to get the http request to work. I have alert
> boxes spread throughout my code. I create an xmlhttp object and I do
> an http request, but the program seems to not go pass this step. The
> alert box inside the xmlhttp.onreadystatechange function never gets
> triggered.

The http geocoder should be used for server side geocoding, not from
javascript.

>
> The link to the website is:http://www.midyork.org/cazenovia/Geolocation.html
>
> I have also read online that http request might not work with
> Javascript because of some security limitations inherent in
> javascript.

I do get permission denied on that page when I click the "Search"
button, because of that security restriction.

> If this is the case, what are some recommendations for
> what I am trying to do.

Don't geocode multiple points on the fly.  Geocode them off line, and
store the coordinates in an xml file, database or directly in your
code.

from Mike Williams' tutorial:
Part 17 Geocoding multiple addresses
http://econym.org.uk/gmap/geomulti.htm

  -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to