Display an HTML Map

Hello, sorry for the inconvenience but I tried to find solutions via doc / youtube video but couldn’t find anything.

Maybe one of you has already did something similar and will be kind enough to guide me …

My concern is quite simple to explain: I would like to display a map in html format on anvil.

I have a python function which creates a map with markers according to the filters defined by my users (city, …). The function saves the created map directly to Jupyter notebook but I would like it to be displayed on anvil.

I saw on this post:

I would need an Iframe component, so I cloned it. I also tried to create a table to store the html file (like she did in her exemple above) but I didn’t get the result I wanted …

If anyone can help me I would be greatly grateful.

Regards,

A new Anvil user

Hello, I’m new on Anvil but it’s pretty cool ! I have already built a calculator on it last week, and today I want to display an html map (created in jupyter notebook with folium).

The problem is : I have no clue how to do this… The map is registered in my notebook and my goal is to get an interactive map (I have filters which users will select, then my function on jupyter will create the corresponding map).

I have already read a post about it saying I need an IFrame so I got it as custom component :

What I’m trying to do: Display an interactive html map from jupyter notebook.

What I’ve tried and what’s not working: simply put the link of my registered map as url.

If someone has already tried something similar I would be very thankfull if you could give me some advices.

Cordialy,

An Anvil noob