DEV Community

Discussion on: Reactive Map with Rails, Stimulus Reflex and Mapbox

Collapse
 
ilrock__ profile image
Andrea Rocca 👨‍🍳

Hey @tommy! Sorry for being so late. Somehow I don't get notified when I get comments on dev. Either way, you can follow this guide: docs.mapbox.com/help/tutorials/cus....

When you setup your markers in the stimulus controller, there you can add the JS code required to also attach the popup to those markers.