3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
257 stars 143 forks source link

DISABLE POPUP "INFORMAZIONI" AND ZOOM INSTANTLY #1201

Closed robibrazze closed 4 years ago

robibrazze commented 5 years ago

Hi, i would disable the action - pupup "informazioni" when i click on the layer name

popuo

and when i click the checkbox for viex a layer on a map i would like enable instantly the action "zoom at layer".

any suggestions and welcome ..tanks

Roberto

rldhont commented 5 years ago

You probably need a script to do so.

igeofr commented 5 years ago

@robibrazze, here is the code to hide the information panel

lizMap.events.on({
    'lizmapswitcheritemselected': function(e) {
      $('#sub-dock').css({
            'display':'none'
      });
      }
});
3liz-bot commented 4 years ago

Hiya! This issue has gone quiet. 👻 We get a few questions in the bug tracker, so we currently slowly closing issues. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Thanks for being a part of the Lizmap community! 🦎