You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p = L.popup().setLatLng('..').setContent('...');
m.bindPopup(p);
m.on('popupopen', function(e){ ...});
Then I clicked on the marker, saw the popup open, but my popupopen handler function was never executed. I realize now that I have to explicitly set the source for the popup when I create it, but it took me quite some time as i assumed bindPopup() to take care of it.