-
With TerriaMap version7, on startup, I could automatically load a layer from the data catalog into the workbench and show it on the map using the item attributes - isShown and isEnabled (set to true). In TerriaMap version 8, these attributes don't seem to be supported. Thanks very much, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Take a look at
Though I am unsure about |
Beta Was this translation helpful? Give feedback.
-
For loading data by default V8 uses
|
Beta Was this translation helpful? Give feedback.
For loading data by default V8 uses
workbench
array property on the level of initialization files. It contains array of item ids that are shown on workbench by default.Check https://docs.terria.io/guide/customizing/initialization-files/ and search for
workbench
.Along with that you can use
show
boolean property on catalog item level, that controls whether the item is visible on the map. Each item should support this property.i.e. something like this (writing from top of my head), should show dataset in workbench on initial load and it is visible on map (show)