New to google maps , I recently started reading.
For one of the projects I had to put a few points on the map.
I took a sample demo / sample from the Google Maps API and started adapting it to my requirements. Everything went well.
However, at some point in time, I decided to insert a button that needs to be clicked to display the map, otherwise the map does not appear by default.
However, when loading the page there is no error, however, as soon as I click the button, I get this message "resource
, which is interpreted as an image, but transmitted as text / html "
I tried to find out if I was setting the content type explicitly somewhere, but no, I didnβt find anything.
Has anyone seen this? I will be grateful for the help.
source share