I'd like to do as the title suggests and can get the popup to appear on mousedown with the following code, but mouseup doesn't close the popup:
// Quick look at info on mouse holdmarker.on("mousedown", function(e){ this.openPopup();});// TODO: can we get mouseup working?$(marker).mouseup( function(e){ this.closePopup();});Am I missing something? If I log within the functions I see the mousedown hitting but mouseup never happens.
أكثر...
// Quick look at info on mouse holdmarker.on("mousedown", function(e){ this.openPopup();});// TODO: can we get mouseup working?$(marker).mouseup( function(e){ this.closePopup();});Am I missing something? If I log within the functions I see the mousedown hitting but mouseup never happens.
أكثر...