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

How to get a result of a promise?

I have some problem with understanding promises. Could you help me please: I'm trying to use node-geocoder library. So, this is a function, which should return an array of latitude and longitude of some point on the Google map. import NodeGeocoder…
Entry Guy
  • 425
  • 1
  • 7
  • 18
-1
votes
1 answer

Google GeoCoding service - Getting clean street name

I'm working with Google GeoCoding service (using a get request from the browser) and try to get the clean street name (without the pre/post direction and the suffix) for example: If my address is "3307 W Bertona St Apt 3 , Seattle , WA" I want to…
Amos
  • 1
-1
votes
2 answers

Google maps API - not accepting values from geocode

I am trying to implement the Google API maps in my javascript. Based on an address, I want to get the corresponding latitude/longitude and show a map on this location. When I hardcode the location, it works. When I use the values from the geocoder,…
jazy
  • 75
  • 4
  • 14
-1
votes
2 answers

google maps different color marker not working

in my project i use google geometry location API to display marker on maps using site name not latitude and longitude. it is working fine. now, i want to display different marker for different site base on my database field resp. if resp is greater…
-1
votes
1 answer

Google Maps Geocoding API works in WAMP local host but not in virtual host

My test site under development utilizes Google Maps JavaScript API client geocoder. When the site runs under local host, the latitude and longitude are returned correctly and are then properly utilized by my js scripts. However, when the identical…
-1
votes
1 answer

Calling function in javascript Google API

I am using Google JavaScript API with geocoding and heatmap. But I am having some trouble. Here is my script: content of coords.js: eqfeed_callback() My question is, why I can not call the function heatMapVisualize() anywhere else except the…
nocturne
  • 627
  • 3
  • 12
  • 39
-1
votes
1 answer

How do I get lat / long from google geocode API in python 3?

When using the following code I get a lot of data but I only want to store lat, long as one string. It looked like a dictionary and I tried to access it like one: strtLoc['location'] but just got an index must be int error. When I tried indexing…
-1
votes
1 answer

How to show infobox when using KML files

function initMap() { var myLatLng = {lat: 19.0760, lng: 72.8777}; var map = new google.maps.Map(document.getElementById('map-canvas'), { center: new google.maps.LatLng(22.4913, 78.9000), zoom:5, …
Romil
  • 11
  • 1
  • 6
-1
votes
1 answer

Google maps API geocoding - Cannot read property of null

I have an issue in my google api code. The problem is I used geocoding in bootstrap modal, on first clik when i filled the inputs I have information in console: Cannot read property of null. Here is sample of my code: var location1; var…
k1dl3r
  • 103
  • 1
  • 2
  • 11
-1
votes
1 answer

Google api Javascript code not working