Questions tagged [google-maps-timezone]
14 questions
5
votes
0 answers
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…

Tako
- 661
- 12
- 34
4
votes
2 answers
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 Business customers receive 100,000
requests per 24 hour…

Bishan
- 15,211
- 52
- 164
- 258
3
votes
2 answers
Time zone conversion using time zone city coordinates and local time
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 provide the ability to convert to a different time…

Emmanuel
- 16,791
- 6
- 48
- 74
2
votes
1 answer
Error: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body
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/HEAD method cannot have body
Here is my code.
Does…

chuckd
- 13,460
- 29
- 152
- 331
2
votes
1 answer
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 certain lat & long coordinates.
Here's an example of a…

Ezzdean Bietar
- 23
- 2
2
votes
1 answer
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, timeZoneName. My question is how to get GMT (5.5)…

Paramjeet Singh
- 145
- 1
- 3
- 15
2
votes
1 answer
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 regarding locations and time zones in the Internet…

pabz
- 534
- 1
- 5
- 15
1
vote
2 answers
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 TimeZone but that requires two api call , first…

Jitendra Kumawat
- 133
- 1
- 2
- 12
1
vote
1 answer
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 correct message for the iteration 1 and for the…

Kalyan
- 27
- 1
- 10
0
votes
1 answer
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 restriction type (but it works for places API). With…

Bogdan Dubyk
- 4,756
- 7
- 30
- 67
0
votes
1 answer
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…

user3293338
- 481
- 1
- 6
- 16
0
votes
1 answer
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 return the following
{
"dstOffset" : 0,
"rawOffset" :…

Vishnu Sureshkumar
- 2,246
- 6
- 35
- 52
-1
votes
1 answer
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.…

chuckd
- 13,460
- 29
- 152
- 331
-1
votes
1 answer
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 :…

Abhii
- 295
- 2
- 6
- 18