Crocoblock / suggestions

The suggestions for CrocoBlock project
194 stars 78 forks source link

Advanced Map - make it working with restricted Google Maps Key #2577

Open dislokacia opened 3 years ago

dislokacia commented 3 years ago

Advanced Map - make it working with restricted Google Maps API Key

alexander-pankart commented 3 years ago

I also have this problem. I thought it was just me. As soon as the API is restricted, nothing is displayed here. Thank you.

rtpHarry commented 3 years ago

This is a real problem, it makes the feature unusable unless you take the risk of using an unsecured API key. If that gets stolen then they could run up a bill for thousands of ££ before you spot it.

ewancluckie commented 2 years ago

+1 for this. Advanced Maps widget is useless without it.

brupao commented 2 years ago

+1 for this. I'm having same problem. It's impossible to use without http restrictions ...

rtpHarry commented 2 years ago

Woohoo!

image

5417

bjoernzosel commented 2 weeks ago

It seems that the map on the backend still does not work if you set restrictions.

UPDATE: Restrictions work if you use a different API key for geocoding and places in JetEngine settings. Then you can set restrictions on the Maps JS API key. In the explanations it reads that you can as well restrict the Geocoding & Places API key with IP address, but it did not work in my case ... don't know why