I am attempting to import the Marine Traffic site into my app via an IFrame or custom component system. Although when I do, I only get the web page's background as a response or no response at all.
Marine Traffic can be found here:
It is this style of interactive map I would like to use. Marine Traffic also supply an embed page, although I get the same blank response when I use this method:
Any way to fix this or suggest other ways to embed the page would be great, thanks!
It looks like the script at https://www.marinetraffic.com/js/embed.js mainly serves to generate the src (and some other settings) for an iframe. You might be able to use that directly with the iframe component itself. The attached app runs the portion of the script that generates the src but you can also try using one of the following URLs:
Hello,
Thanks for the URLs, these are working and display the map. But how can you make the page interactive so that filters, and searches work? Currently when searching for a specific vessel the iframe just showing a blank page and there is no option to navigate to the map again.
Thanks.
Do you have an example that is working outside of Retool, but not in Retool? I was able to get a "nothing to sea here" error, but that seemed like the expected response based on the url I tried (I haven't used this marine traffic service before, so not 100% sure about the url formatting)