Customizing vue2-leaflet with quasar components

  • Hello All.

    As I didn’t like the default masks button (to change map layers) in vue2-leaflet, I wanted to make my own one using QBtnDropdown.

    When I click a first time, the button oppens.
    but when I click again (while oppened), it closes to opens again right after as if it was receiving two click input.

    I’ve prepared an online example:
    You might have to wait up to one minute for it to load.

    Try clicking on the top right button on the map.

    It’s clearly linked to the fact it’s on top of the leaflet map and probably not a bug on the component itself, but help would be appreciated!


Log in to reply