Replies: 2 comments 1 reply
-
Hey Rio devs, Have you had a discussion on the map component yet? The Plotly map example looks nice and covers a lot of geospatial visualization needs. However, I think many developers wouldn’t prefer Plotly for maps and would appreciate alternative options in Rio. I've explored map options and created a custom Map component using pure Leaflet on the frontend. It works, but lacks the features of established packages. I understand creating a custom map API might not be ideal. The main issue with the packages I've looked into is the lack of an easy frontend translation like Plotly's However, many Map objects in the Leafmap package have a |
Beta Was this translation helpful? Give feedback.
-
At the end of the day, Rio components are just HTML. Any engine that can display their map using JavaScript/HTML should be possible to use. I think the question here is more about the map API itself. I'm sure the second a map component is added, a lot of related requests will pop up, like how one can add pins. How to display a fictional map, ... I'd love to hear input from somebody who has experience with different mapping engines and has already implemented a variety of uses cases with them, so we can hear about commonly needed features. |
Beta Was this translation helpful? Give feedback.
-
Currently, if you want to add a map to your website, using Plotly in a rio.Plot component is the way to go. However, Plotly is not the only available option to visualize geospatial data. Many engines exist, such as Bokeh, Deck.gl, Folium, Kepler.gl, and many more.
So far, I have been using Deck.gl and Folium, but I would like to hear what other people use and why. If there seems to be a best option, that would, of course, be the solution. However, if possible on the Rio side, it would be nice to allow the developer to choose the engine of their liking.
Leafmap is a nice package that is built on top of all these optional engines. I can't tell whether it can be used for a Map component. That's up to the core developers.
Beta Was this translation helpful? Give feedback.
All reactions