HZ-HBO-ICT / it-conference

Official repository for the IT-Conference
https://weareinittogether.nl
MIT License
5 stars 0 forks source link

Issues with the map on the Contact page #189

Closed v-stamenova closed 1 month ago

v-stamenova commented 12 months ago
image
TimKardol commented 12 months ago

Fixed one issue by adding the complete url to the api key allowed websites in my maps api dashboard.

TimKardol commented 12 months ago

Fixed noApiKey error by adding api key to .env in the production folder.

TimKardol commented 12 months ago

image

Current errors on localhost

TimKardol commented 12 months ago

image

Current errors on production

TimKardol commented 12 months ago

@v-stamenova Might need to go through this together.

v-stamenova commented 12 months ago

@v-stamenova Might need to go through this together.

Yeah, today?

daphneheertjes commented 11 months ago

Tim, since you asked, I got this message through the firefox console. It works as a charm in google chrome

Google Maps JavaScript API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error Your site URL to be authorized: https://www.weareinittogether.nl/contact

Uncaught (in promise) TypeError: a.getDiv() is undefined ona https://maps.googleapis.com/maps-api-v3/api/js/54/6-beta/intl/nl_ALL/map.js:2 xa https://maps.googleapis.com/maps-api-v3/api/js/54/6-beta/intl/nl_ALL/map.js:118

This is what I found in response...it might help https://stackoverflow.com/questions/35288250/google-maps-javascript-api-referernotallowedmaperror

TimKardol commented 11 months ago

Seems this has been fixed for the most part. Thing is that most of these issues happen because of client side restriction put up by browsers and adblockers. I'll leave it open for future work.

dwaard commented 11 months ago

We could use https://www.openstreetmap.org instead