Hello, I am attempting to embed a Mapbox map into my site using the HTML element. Unfortunately, the map is not visible when I paste the following code (and replace the API key with my own). Has anyone else ran into this issue?
(PS - The reason I am not using the Mapbox plugin is because I am trying to embed a map that will allow users to draw a polygon on the map)
I’ve been able to get this to work in Webflow quite easily.
Hi, try to toggle off “refresh on resize”
Also, if the script contain any reference to window or document you may want to replace it with wwLib.getFrontWindow() and wwLib.getFrontDocument()