Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: add options to hide "Projects" and "Information" buttons in the map's Tools #197

Closed
jaitor1 opened this issue Sep 8, 2015 · 3 comments
Assignees

Comments

@jaitor1
Copy link
Contributor

jaitor1 commented Sep 8, 2015

image

@mdouchin mdouchin added this to the 3.0 milestone Oct 31, 2015
@rldhont
Copy link
Collaborator

rldhont commented Apr 22, 2016

@jaitor1 thank for this request. I have open an enhancement in lizmap-plugin too 3liz/lizmap-plugin#54

@rldhont
Copy link
Collaborator

rldhont commented Apr 22, 2016

To do so, before we enhance web client and plugin, you can use a JavaScript in the media folder, like the file shown in fb0ba36 , see doc https://github.com/3liz/lizmap-documentation/blob/master/source/publish/advanced_lizmap_config.rst#adding-your-own-javascript

@rldhont rldhont removed this from the 3.0 milestone Apr 27, 2016
@igeofr
Copy link
Contributor

igeofr commented Feb 14, 2020

It is possible by using this code :

lizMap.events.on({
     'uicreated':function(evt){
        $('.nav-list .metadata').css({
           'display':'none'
        });
        }
   });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants