Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6882469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:15:26+00:00 2026-05-27T05:15:26+00:00

I have written down the following code: var url = http://maps.googleapis.com/maps/api/geocode/json?latlng=+position.coords.latitude+,+position.coords.longitude+&sensor=false&callback=parseMe; console.log(‘URL is —

  • 0

I have written down the following code:

var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng="+position.coords.latitude+","+position.coords.longitude+"&sensor=false&callback=parseMe";
            console.log('URL is -- '+url);

            var scr = document.createElement('script');
            scr.src = url
            scr.type = 'text/javascript';
            document.getElementsByTagName('head')[0].appendChild(scr);

How do I capture the response from this call?

I am getting the response back. Please see this image: https://i.stack.imgur.com/XjPhq.png

How do I capture this response in a variable?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:15:26+00:00Added an answer on May 27, 2026 at 5:15 am

    If you’re on V3 you should use the Geocoding API for this:
    http://code.google.com/apis/maps/documentation/geocoding/

    The API no longer returns JSON-P, so that you won’t be able to access it with ajax without a proxy on the same domain.

    var geocoder = new google.maps.Geocoder();
    geocoder.geocode({ <put options here>}, callback);
    

    results and status is sent to the callback function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a cascading drop down list using JQuery. The code that I
I have written the following code in an effort to try and compute the
I have written the following trial code to retreive the title of legislative acts
I have .Net 2.0 Windows form containing combobxes. I have written following code to
I'm approaching pthreads library in C, I have written down some dummy code in
I have written some code in my VB.NET application to send an HTML e-mail
I have written something that uses the following includes: #include <math.h> #include <time.h> #include
I did the following code. I know it's horribly written, but it's only a
I have a windows service written around some code similar to this Asynchronous Server
I have an inhouse API written in C++ (no MFC), implemented on top of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.