Two PopUps
Is there any way to display two PopUps at the same time or even launch a second PopUp from a link ?
This is my code I'm testing, but it shows the first window then quickly disappears.
Any direction or help would be great.
Even a chose between which PopUp: Current Weather or Forecast Weather
var popup = L.popup();
//popup function
function onMapClick(e) {
popup
.setLatLng(e.latlng)
.setContent("You clicked the map at " + e.latlng.toString()+ '<a href="http://www.google.com">Visit Google</a>"') //esample from leaflet, will be immediately replaced by weatherpopup...
.openOn(mymap);
//map.on('click', onMapClick);