Skip to content

How to remove buttons / tokens #5269

Answered by tephenavies
Faelyke asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Faelyke. Currently these icons can be removed by modifying lib/Views/UserInterface.jsx in TerriaMap. If you need to remove a lot of them you can copy lib/ReactViews/StandardUserInterface/StandardUserInterface.jsx from terriajs into TerriaMap's UserInterface.jsx and make major changes (it's a bit tedious because you need to change all the imports to "terriajs/lib/...", but it should work).

There is a PR that should be merged soon #5131 that will allow better control in config files over the buttons.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Faelyke
Comment options

Answer selected by tephenavies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants