Hello all,
I’m trying to add this code → Traffic Layer - JSFiddle - Code Playground
to Bricks Builder using the code element. Tried every possible way to make it work, with no results. The page loads empty.
No js errors in the console.
The script src is added in the footer from builder’s settings, using my own api key.
I also tried to add it inside the code element itself
The js code added inside the code element
Url of the page that map should be showing → test – dev athina984
Any suggestions would be more than helpful,
Thanks
It’s definitely the correct solution. Currently you’ve added 100vh height to the map inside the code element, and a height of 100vh on the container, but the code element itself has no height.
Remove the 100vh height, and then add an aspect ratio (or height if you need it fixed) to the code element ID itself, not the content inside of it.