How to remove buttons / tokens #5269
-
I wish to remove these icons from the map. However the config/json doesn't appear to list them. Additionally: "parameters": { Setting autoPlay to false doesn't appear to be working when set in the parameters. Could use some assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Faelyke. Currently these icons can be removed by modifying There is a PR that should be merged soon #5131 that will allow better control in config files over the buttons. |
Beta Was this translation helpful? Give feedback.
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 copylib/ReactViews/StandardUserInterface/StandardUserInterface.jsx
fromterriajs
into TerriaMap'sUserInterface.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.