afsy / website

👩‍💻👨‍💻 afsy.fr website ✨
https://afsy.fr
51 stars 76 forks source link

Google Maps images are failing for events #164

Open stof opened 4 years ago

stof commented 4 years ago

The server returns a 403 with this content:

The Google Maps Platform server rejected your request. You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account

qdequippe commented 4 years ago

Did you think about change map provider? maybe Mapbox is less expensive than Google Maps

clem commented 4 years ago

Yes. Or maybe we can change for OpenStreetMap 😃

qdequippe commented 4 years ago

@clem you're right OpenStreetMap is even better!

Nek- commented 4 years ago

For your information, we were not really using GMaps API. It's just an image link to gmaps hand-written.

It's cool because it allows us to use another image (for example Christmast one for advent calendar).

It's not cool because it's obviously a pain to write 😬.

If OSM has some similar features, that would be awesome.

stof commented 4 years ago

Well, this image link is part of the GMaps API. Look at the website. None of these images are working.

qdequippe commented 4 years ago

@Nek- I checked quickly and OSM does not provide Static render like this :/

Nek- commented 4 years ago

@qdequippe I assume we should use something more complex... PR open x)