I am developing an application for determining the time and location, and the google maps v3 api library has almost everything I need. However, when doing textSearch () for specific addresses and trying to call getDetails () for one of the returned PlaceResult elements, the PlaceResult.utc_offset property returned from getDetails () is undefined (all the other PlaceResult properties I need are returned fine, just not utc_offset).
This is strange because if I use textSearch () for a generic pizza term and then call getDetails () on one of the returned PlaceResult elements, the PlaceResult.utc_offset property returned from getDetails () will have a value.
Does anyone know why utc_offset is populated for general search results, but not when searching for a specific address, or what am I doing wrong?
source
share