# Interactive maps in Julia (folium equivalent)

**URL:** <https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424>\
**Category:** General Usage\
**Tags:** plotting, geo, interactivity\
**Created:** [November 13, 2021, 10:26am UTC](https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424 "2021-11-13T10:26:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [November 13, 2021, 10:26am UTC](https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424/1 "2021-11-13T10:26:54Z")

</div>

What’s the closest thing we have that’s equivalent to `folium` in Python, i.e. a package that lets me take a set of lat/lon coordinates and plot them on an interactive map, including ideally the ability to have custom html popups on the lat/lon markers?

Here’s an example of what I’d like to do: [Interactive maps — AutoGIS site documentation](https://automating-gis-processes.github.io/site/notebooks/L5/interactive-map-folium.html#Adding-layers-to-the-map)

---

<div class="post-metadata">

**Author:** ![sashmit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sashmit/32/18791_2.png) [@sashmit](https://discourse.julialang.org/u/sashmit)\
**Post date:** [November 13, 2021, 1:36pm UTC](https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424/2 "2021-11-13T13:36:50Z")

</div>

You can always use folium; [OpenStreetMapX\_tutorial](https://pszufe.github.io/OpenStreetMapX_Tutorial/)

In something like pluto, it’s trivial to just use leaflet, which gives you more power than folium, which is a wrapper around leaflet.

---

<div class="post-metadata">

**Author:** ![Raf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raf/32/3383_2.png) [@Raf](https://discourse.julialang.org/u/Raf)\
**Post date:** [November 13, 2021, 11:25pm UTC](https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424/3 "2021-11-13T23:25:59Z")

</div>

Thats Leaflet showing the interactive map in your python example. I’m looking at reviving @yeesian 's LeafletJS package at some stage, [https://github.com/yeesian/LeafletJS.jl/pulls](https://github.com/yeesian/LeafletJS.jl/pulls)

But I probably wont be able to finish that PR for quite a while, but it might work for you needs already?

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [November 14, 2021, 12:26am UTC](https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424/4 "2021-11-14T00:26:20Z")

</div>

Another alternative is GMT.jl `gmt2kml` that as the name says produces a kml that you can load in GE, but I’ve not much experience with this so the wrapper may have some rough edges.

---

<div class="post-metadata">

**Author:** ![j\_u](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j_u/32/219081_2.png) [@j\_u](https://discourse.julialang.org/u/j_u)\
**Post date:** [November 14, 2021, 8:02pm UTC](https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424/5 "2021-11-14T20:02:52Z")

</div>

You may also take a look at [kepler.gl](https://kepler.gl). AFAIK, there is no native Julia support (so this is not a direct answer to your question), however, you can use it in Jupyter or even in VS Code and there is a lot to like about it.

---

<div class="post-metadata">

**Author:** ![ctrebbau](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Post date:** [April 17, 2024, 1:20pm UTC](https://discourse.julialang.org/t/interactive-maps-in-julia-folium-equivalent/71424/6 "2024-04-17T13:20:53Z")

</div>

You may find this useful  
[https://deloitteoptimalreality.github.io/LightOSM.jl/notebooks/tutorial/](https://deloitteoptimalreality.github.io/LightOSM.jl/notebooks/tutorial/)
