Add popup on a marker!!

2 posts / 0 new
Last post
jaishnavpawala
Add popup on a marker!!

Hello,

When I display the direction, I would like to add a popup on the associates markers. Is that possible ? Because I didn't find some example in the official documentation 


MQBrianCoakley
Once you create an L.marker()
Once you create an L.marker(), use .bindPopup('TEXT'), to add add a popup to that marker. You can see a basic example here.