You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used to be able to pass the #clean param in a running session as well in order to clean the catalogue manually from the URL bar after the fact, e.g. useful if you are experimenting with drag and dropping many init files. This is currently not working.
Once the map has loaded and you've clicked through the Welcome message, add /#clean to the end of the URL bar and hit enter.
Expected: the catalogue is cleared out.
Actual: the catalogue is not cleared out.
To see how it is supposed to work, try it instead with #hideWorkbench=1 / #hideWorkbench=0, and you can see that you can enable and disable the workbench from the running session.
The text was updated successfully, but these errors were encountered:
#clean can only prevent loading data from initialisation sources that exist but haven't been loaded yet. In the case of loading Terria with #clean the default initialisation sources are not loaded due to this, so the catalogue is empty.
I propose that #clean be extended to:
Reset terria.catalog.group:
Effect: An empty catalogue window
Reset terria.catalog.group and remove (+GC) models under terria.catalog.group from terria.models, except for models in the workbench:
Effect: Empty catalogue window, but workbench remains populated. Could be a powerful tool for slimming down share JSON to just modifications made to workbench items - this would also reset every group to its default (closed) state
Reset terria.catalog.group and remove (+GC) models under terria.catalog.group from terria.models and the workbench:
Effect: Empty catalogue window and all items added from the catalogue get removed from the workbench. It's possible that some items will remain in the workbench if they were added from code - graphs expanded from feature info might be an example of this
Any of these options will still leave a difference in behaviour between launching a map with #clean and adding #clean to a running map. The difference is that launching with #clean will skip applying configuration stored inside the initialisation file (most of https://docs.terria.io/guide/customizing/initialization-files/#init-file-properties).
Loading a a terria map with
#clean
on the URL clears out the catalogue so that it's empty, that's currently working:https://nationalmap.gov.au/#clean
We used to be able to pass the
#clean
param in a running session as well in order to clean the catalogue manually from the URL bar after the fact, e.g. useful if you are experimenting with drag and dropping many init files. This is currently not working.To reproduce:
/#clean
to the end of the URL bar and hit enter.To see how it is supposed to work, try it instead with
#hideWorkbench=1
/#hideWorkbench=0
, and you can see that you can enable and disable the workbench from the running session.The text was updated successfully, but these errors were encountered: