geolocation query in javascript

Discussion in 'Javascript' started by cerr, Feb 7, 2012.

  1. cerr

    cerr Guest

    Hi There,

    I'm working on an application that potentially gets 1000s of
    geolocation queries per day and if I don this (as I've done it till
    now) in php, it works fine but I quickly run into OVER_QUERY_LIMIT
    from the google map apis. Thus I think I'd better do it in javascript
    and just send the coordinates to the server for caching rather than
    querying from the server's IP. Now the url that sends back the
    location information looks like this:
    http://maps.googleapis.com/maps/api/geocode/xml?address=3021 Underhill Ave Burnaby, BC&sensor=false
    and I was wondering how I can send a request to this url and parse the
    xml string that's treturned. Is there a handy method that's compatible
    accross a bunch of browsers incl. mobile ones?

    Thanks,
    Ron
    cerr, Feb 7, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Learner
    Replies:
    1
    Views:
    973
    Marina Levit [MVP]
    Jan 30, 2006
  2. Anonymous
    Replies:
    0
    Views:
    1,443
    Anonymous
    Oct 13, 2005
  3. David Gordon

    xpath query query

    David Gordon, May 18, 2005, in forum: XML
    Replies:
    2
    Views:
    781
    David Gordon
    May 18, 2005
  4. Andy

    Geolocation Testing

    Andy, Jul 13, 2006, in forum: ASP .Net
    Replies:
    6
    Views:
    560
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Jul 14, 2006
  5. TurboTom
    Replies:
    1
    Views:
    828
    Adrienne Boswell
    Jul 1, 2010
Loading...

Share This Page