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

  • SEARCH
  • Home
  • 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 1036213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:40:01+00:00 2026-05-16T14:40:01+00:00

How can I get latitude from a city name like Florida how can I

  • 0

How can I get latitude from a city name like Florida how can I get the latitude and longitude from sending a JSON request to a Google map API.

Is there any way to do this?

I need a solution in JavaScript or jQuery through JSON.

  • 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-16T14:40:02+00:00Added an answer on May 16, 2026 at 2:40 pm

    Not sure what you mean when you say send json but you can do it with this function:

    function getLatLong(address){
          var geo = new google.maps.Geocoder;
    
          geo.geocode({'address':address},function(results, status){
                  if (status == google.maps.GeocoderStatus.OK) {
                    return results[0].geometry.location;
                  } else {
                    alert("Geocode was not successful for the following reason: " + status);
                  }
    
           });
    
      }
    

    that will return an object which you can reference with .lat() and .lng() to get the latitude and longitude.

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

Sidebar

Related Questions

Using the Google Maps API, how can I get the latitude and longitude of
How can I get latitude and longitude from a full address (street, city, etc.)
I would like to know how I can get the country name from latitude
how can i Get City, State, Country from Latitude and Longitude using javascript.
I have the next JSON object but I can't get latitude and longitude from
I get my information from my SQL query (Name, Description, Latitude, Longitude) but I'm
How i can get the latitude and longitude of the current location, from android?
I would like to get a pair of coordinates (longitude, latitude) from a postal
few month ago i write something to get the latitude or longitude from google
Can I get the country information just from Latitude and Longitude of the user?

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.