googlemaps-samples / codelab-locator-maps-js

https://codelabs.developers.google.com/codelabs/google-maps-simple-store-locator/
Apache License 2.0
85 stars 103 forks source link

Google Streetview image is not appearing on Popup #27

Open jeffbetts opened 2 years ago

jeffbetts commented 2 years ago

I'm only seeing an image placeholder instead of the Google Streetview image below the store details. The URL being created is: https://maps.googleapis.com/maps/api/streetview?size=350x120&location=51.5125168,-0.1428115&key=(My-API-KEY)&solution_channel=GMP_codelabs_simplestorelocator_v1_a (I removed my API Key above, it's showing in the actual URL)

I thought it was an error in my working code, but after completing the exercises and uploading the code from GitHub, the images still are not appearing below the details. I'm getting a 403 status when this URL is being loaded.

toppyc4 commented 2 years ago

you have to enable Street View Static API on your google map console