Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to get photo_reference #18

Closed
PKrupa94 opened this issue Sep 8, 2018 · 1 comment
Closed

Not able to get photo_reference #18

PKrupa94 opened this issue Sep 8, 2018 · 1 comment

Comments

@PKrupa94
Copy link

PKrupa94 commented Sep 8, 2018

How user can able to get photo_reference in array of photo.without it user not able to display picture of place

@skynet2
Copy link
Owner

skynet2 commented Dec 11, 2018

Hi @PKrupa94 ,

Use 2.0.3, here is an example of code
if(address.photos && address.photos.length > 0){
console.dir(address.photos[0].getUrl({maxHeight:500,maxWidth:500}));
}

@skynet2 skynet2 closed this as completed Dec 11, 2018
skynet2 added a commit that referenced this issue Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants