Skip to main content

Questions tagged [google-maps-timezone]

The tag has no usage guidance.

google-maps-timezone
-1 votes
1 answer
196 views

Will a locally generated timestamp affect the utc offset and timezone when calling Google maps TimeZone from a different region?

I'm using Google maps TimeZone API to get the timezone and utc offset for a location (lat/lng) in New York, London, Paris, Sydney. Ex. https://maps.googleapis.com/maps/api/timezone/json?location=39....
chuckd's user avatar
  • 14k
4 votes
1 answer
37k views

Error: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body [duplicate]

I'm using fetch to call Google TimeZone. But I'm getting an error when trying to pass the lat/lng and timestamp in as body paramters. Error: Failed to execute 'fetch' on 'Window': Request with GET/...
chuckd's user avatar
  • 14k
0 votes
1 answer
1k views

Google maps timzezone API

On the current app I'm working on right now we use two kinds of google maps APIs: places and timezone. Following on the documentation, I found that for timezone API we can't use the HTTP referrer ...
Bogdan  Dubyk's user avatar
  • 5,214
2 votes
1 answer
719 views

Google Time Zone API Returned Wrong Time Zone Info for Lat & Long

I'm using Google's Time Zone API to get the time zone id for latitude & longitude coordinates in the United States. However, I've noticed that some of the responses I'm getting are incorrect for ...
Ezzdean Bietar's user avatar
2 votes
1 answer
3k views

How to Get GMT by using Google Time Zone API

I want to retrieve GMT(5.5) of India or same like this for other Country. Below is my code where I used Google Time Zone API and the coming response is on dstoffset, rawOffset, status, timeZoneId, ...
Paramjeet Singh's user avatar
2 votes
1 answer
4k views

Can there be a postal code area which falls on to multiple time zones?

Can there be a city/place which has some postal code 'XXXX' and it falls in to 2 or more time zones? I'm not sure if this question is even valid or not. But because of the overwhelming information ...
pabz's user avatar
  • 554
1 vote
2 answers
2k views

How to get TimeZone, latitude and longitude using single Google API Call

I have address(city,state,country,zip) and want to get TimeZone , latitude and longitude in single Google API call , i see google provide TimeZone api which accepts latitude and longitude and returns ...
Jitendra Kumawat's user avatar
0 votes
1 answer
991 views

Access Google Maps Time Zone API issue

I am trying to access the google maps time zone api according to the guide lines here: https://developers.google.com/maps/documentation/timezone/intro If I put the url:"https://maps.googleapis.com/...
user3293338's user avatar
5 votes
0 answers
1k views

Google Timezone API request CORS error

I try to request the Google Timezone API from an AngularJS app. But when I'm making my request I got this error in the preflight request : XMLHttpRequest cannot load https://maps.googleapis.com/maps/...
Tako's user avatar
  • 672
-1 votes
1 answer
741 views

Fetching the "timeZoneName" by Passing "timeZoneId" from google map API

Please refer this Link This API Call passes the location in request, and get the response with the details in JSON/XML eg : Request https://maps.googleapis.com/maps/api/timezone/json?location=39....
Abhii's user avatar
  • 295
3 votes
2 answers
3k views

Time zone conversion using time zone city coordinates and local time [duplicate]

I'm developing a scheduling web site where you can specify a date, time, time zone city. I want to save this in the backend in UTC time. So I have to convert it somehow on the server. I also want to ...
Emmanuel's user avatar
  • 17k
0 votes
1 answer
7k views

Javascript - Calculate time from the rawOffset Google timezone API

I am developing an application to get the local time of city. I am using google Geocode API to get the latitude and longitude of a city and the same is passed to the timezone API. Time Zone API ...
Vishnu Sureshkumar's user avatar
1 vote
1 answer
436 views

Google Timezone API: Request Loop

I have the following code that connects to google timezone api and returns a json message from which i would derive if there is an offset or not. Question: I am using a for loop here and it returns ...
Kalyan's user avatar
  • 27
4 votes
2 answers
1k views

The Google Time Zone API Usage Limits

I wish to use Google Time Zone API in my android app. In their Usage Limits, they said as below. Use of the Google Time Zone API is subject to a limit of 2,500 per 24 hour period. Maps for ...
Bishan's user avatar
  • 15.6k