You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But with angularjs-google-places there is only height, width and getUrl(). When I call getUrl() something breaks in Places API's javascript and I get this error:
TypeError: Cannot read property 'maxWidth' of undefined
at AN (http://maps.google.com/maps-api-v3/api/js/23/3/intl/pt_br/util.js:212:133)
If I could get photo_reference I could build the URL by myself, but it's not present as I just said.
Is there an workaround?
The text was updated successfully, but these errors were encountered:
According to Google's documentation, the array
photos
in the results contains the attributesheight
,width
,html_attributions
, andphoto_reference
. See here: https://developers.google.com/places/web-service/search#PlaceSearchResponsesBut with angularjs-google-places there is only
height
,width
andgetUrl()
. When I callgetUrl()
something breaks in Places API's javascript and I get this error:If I could get
photo_reference
I could build the URL by myself, but it's not present as I just said.Is there an workaround?
The text was updated successfully, but these errors were encountered: