Questions tagged [google-geocoder]

The Geocoding API is a service that provides geocoding and reverse geocoding of addresses.

The Geocoding API is a service that provides geocoding and reverse geocoding of addresses.

Geocoding is the process of converting addresses (like a street address) into geographic coordinates (like latitude and longitude), which you can use to place markers on a map, or position the map.

Reverse geocoding is the process of converting geographic coordinates into a human-readable address.

This service is also available as part of the client-side Google Maps JavaScript API, or for server-side use with the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services.

982 questions
-1
votes
1 answer

gmap api geocode zipcode saudi arabia not working as expected

Using Google Map API for getting the boundary and Coordinates for Zipcode. While geocoding the Address for Saudi Arabia(SA) Region, when the Zipcode of Saudi Arabia(SA) is geocoded the Result of geocoder has address referring to 2517 The Hague,…
Zlahc
  • 53
  • 1
  • 5
-1
votes
2 answers

Set variable that is out of function scope, from within function

I'm trying to get the latitude and longitude of a place from a placeId but I'm unsure how to set the variables above the geocode function from within the geocode function. At the moment the console.log in the function gives me valid lat and long…
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
-1
votes
2 answers

How to get place name from lattitude and longitude?

I am getting the latitude and longitude from the api, and need to get the place name from these cooridinates so that I use this block of code CLGeocoder *ceo = [[CLGeocoder alloc]init]; CLLocation *LocationAtual=[[CLLocation alloc]…
sandeep tomar
  • 303
  • 1
  • 5
  • 17
-1
votes
1 answer

Synchronous Javascript Promise with timeouts to overtime Google Geocode querylimit

I have a list of >100 addresses and am trying to make requests to Geocoder to get the latitude and longitude. After I have all the resulting lat/longs, I will call a callback to do something with it. Google's geocoding API has a time limit on the…
jamesw1234
  • 338
  • 4
  • 18
-1
votes
2 answers

store responses of an async method in the same order they are asked

I need to store some google maps coordinates in an array, I obtain the coordinates through the geocoder so I pass the name of the city or the address and it returns me the coordinates. I found that geocoder must be an async function, because is not…
Alex
  • 1,230
  • 2
  • 24
  • 46
-1
votes
1 answer

Get State Center coordinates from Geocoder API

I can get the City coordinates using the GeoCoder API and input that into my GMaps API so that it centers on that address/coords. I'd like to just pass in the state name to the API and get the center coordinates for that state if possible. I havn't…
Christopher Marshall
  • 10,678
  • 10
  • 55
  • 94
-1
votes
1 answer

google geocoder API return different location from maps.google.com

I am building a map services website. Using "20635 ne 25th ct" as an example, on maps.google.com, it returns a house in Sammamish WA 98074. But with my codes: geocoder.geocode({'address': address}, function (results, status) { if (status ==…
-1
votes
1 answer

Google direction API - How to pass Latitude and Longitude instead of Physical address

Really need some ideas on this. Been working on Google map API, which I'm using Geocoding, Reverse Geocoding and Geolocation. With this piece of code, below,I am able to use Direction API of Google map, which works perfectly. var locations = [ …
-1
votes
1 answer

Getting wrong latitude longitude returned by geocode api for address

While searching for a particular address on google Maps i get the multiple results but the location is correct .However when i try to get the lat/long of the address via geocoding API it returns wrong location lat/long. This address "19 West 34…
-1
votes
1 answer

Returning the country from a LatLong in Apps Script from the Geocoder API

I'm a novice and I'm trying to get a Google Apps Script to spit out the country related to a set of latitude and longitude co-ordinates, by hitting the Google Maps Geocoder API and doing a reverse geocode. So far my function is poor and looks like…
PuGZoR
  • 59
  • 7
-1
votes
2 answers

Trying to convert Address to Lat Long and display Street View: Div is greyed out

I used code from this Stack Overflow Thread, thank you very much. And I used the Streetview code from Google Javascript Maps API below that. However, I get nothing back. The alert(latitude) works and alert(longitude) works. But down below when I try…
JustJohn
  • 1,362
  • 2
  • 22
  • 44
-1
votes
1 answer

trigger a marker click

I am using a Fusion Table and the Google Map API and would like to know if I can automatically trigger an event when a marker is placed. Currently I can click on the map and I get a customized infowindow, but I want to do the same thing but after…
Ian
  • 15
  • 1
  • 5
-1
votes
1 answer

Changes done to global js variables inside Geocoder function does not persist Outside the Function

I want to get Latitude and Longitude of a set of addresses.This is the code I used. var marker_array = []; //Event detail array var LiveEventDetails= ; LiveEventDetails.forEach(function(event)…
SNT93
  • 431
  • 1
  • 6
  • 19
-1
votes
1 answer

Get the location of a well known location like Eiffel Tower with google geocoding?

Im trying to get the Location ( Country,City,Adress ) of well known locations using google Geocoding. I have read the api countless times, i found out how to search with the location of an…
IseNgaRt
  • 601
  • 1
  • 4
  • 22
-1
votes
1 answer

how to get the city using Google Maps Geocoder

I'm developing a website using Wordpress and I'm using a theme that allows to insert custom post called "Property"; this features is handled inside a custom page template. Inside this page I can add the address of the property, which has the…
DamianFox
  • 902
  • 3
  • 20
  • 45