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

Disable inspect icon on map #1370

Open
rajasaur opened this issue Aug 27, 2024 · 1 comment
Open

Disable inspect icon on map #1370

rajasaur opened this issue Aug 27, 2024 · 1 comment

Comments

@rajasaur
Copy link

Tileserver GL Version: v4.12.0
Operation System: Rocky Linux but running on Docker

When displaying the map , there are controls shown on the top right, for zoom/compass etc and below that there is an "inspect" icon that allows to show the landforms etc. Is there a way to disable the "Inspect" button from being seen? Just wondering if we can add a switch so that we can avoid showing the "Inspect" icon.

I looked out at the code at https://github.com/maptiler/tileserver-gl/blob/v4.12.0/public/templates/viewer.tmpl#L73, but it seems to be done by default, so if we can add an option to disable it through a flag, that might be very helpful.

@acalcutt
Copy link
Collaborator

acalcutt commented Sep 2, 2024

Right now there is not an option to disable the inspect button. I would consider merging a PR to add one if someone created it.

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

No branches or pull requests

2 participants