isenabled on wms-catalog-item removed in v8? #6861
-
why is 'isenabled' property removed from wms-catalog-item, i couldn't find any documentation on this having a layer enabled at load time seems usefull compare got an error on load with this parameter |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @pvgenuchten In version 8 we have a new {
"homeCamera": {
"north": -8,
"east": 158,
"south": -45,
"west": 109
},
"catalog": [
{
"type": "csv",
"name": "CSV Test",
"id": "zrPtHVJcPi",
"url": "test/incidents_notime.csv"
}
],
"workbench": [
"zrPtHVJcPi"
]
} Can be tested with the following link All properties in the version 8 init file can be found here https://docs.terria.io/guide/customizing/initialization-files/#init-file-properties. Let me know if that fixes your problem! I'm going to convert this issue to a GitHub discussion. Thanks, |
Beta Was this translation helpful? Give feedback.
-
I should also say that we have a Catalog Converter tool, to upgrade catalogs from version 7 to version 8 - https://catalog-converter.terria.io/ This will automatically add catalog items with |
Beta Was this translation helpful? Give feedback.
-
I fully missed the workbench option, thanx for pointing out… |
Beta Was this translation helpful? Give feedback.
Hi @pvgenuchten
In version 8 we have a new
workbench
property in the init JSON file - which contains the IDs of catalog items that are in the workbench on load. For exampleCan be tested with the following link
http://ci.terria.io/main/#start={%22version%22:%228.0.0%22,%22initSources%22:[%7B%22homeCamera%22%3A%20%7B%22north%22%3A%20-8%2C%22east%22%3A%20158%2C%22south%22%3A%20-45%2C%22west%22%3A%20109%7D%2C%22catalo…