Hi! I am familiar with using Leaflet JS and im trying to build a simple map using Retool. Is there a way to create popup using the mapping component? For an example you can checkout the leaflet home page: https://leafletjs.com/
Would i need to somehow customize a modal and trigger it on point select? Any ideas are welcome!
I am guessing you could use a Custom HTML Component to render the map in. Copy the code from this pastebin I made into the code field for a Custom HTML component and it will create a modal window in that component (https://pastebin.com/gk8UMpFm). You could have a button next to the custom HTML component that toggles the “Display when true” attribute of the custom HTML component. That would be similar to a modal window.
Hi @tom-blazek You may be able to accomplish this using a custom component loading mapbox- there’s an example in the “Custom Components” tab of this template: https://retool.com/templates/btc-chart
@alex-w Yea i saw that… do you think its something worth putting in as a feature request though? I think its a pretty common task when you want to put things on a map.