That's bad, because this way it not possible to determine, whether I have already popped it, or not. (To create an up/down effect, or "all up/down")
I have fixed every error I've found so far, tested 2 hour long and no other errors found.
You can download it from here ... Please overwrite your own with this!
fixed:
- heatmap error
- popup inconsistencies
- popped
- clickable
- speed optimisations
The only tiny problem with it, is still:
- if popped from code, but popup is closed with the X at the corner, than
msg.payload.popupis showing the wrong state - So the user has to click 2x the next time, to force-show popup again.
But this problem is still much smaller than any other cases!
Added a new command:
- To be able to disable right-click "Add marker" context menu:
{"command":{"disableaddmarker":true}}(default false) Similar to hiderightclick, but this command still allows marker's context menus.
In long therm I'd like to see an implementations where:
"clickable" should :
- not just disable the popup, but also the "click" event!
- and to disable popup only, a new property should be introduced:
"popupDisabled"(default false)