Where to find item://...../*id* of a layerPreset
I'm trying to make the below code work for my app, found in another post.
My question is, how can I find the item://........./*id* for a layer preset, or anything else for that matter in Vertigis Studio Web?
I can get the id of the layer presets component, by setting up a button to do a show activity then selecting the layer presets component, then clicking 'customise' in the command section. But this process seems excessive and doesn't give me the specific layer preset item id. Do I need to be on the on-premises version of Vertigis Studio to access this info?
As a bit of background, I'll like to chain together some commands when clicking a button to 1) change the layer preset, and 2) do some other things like hiding/showing specific tools/buttons.
Custom code (map.apply-layer-preset) gives error – VertiGIS
[
{
"name": "map.apply-layer-preset",
"arguments": {
"layerPreset":
"item://layer-preset/c3bafe77-0757-4c8d-9bee-b34c5e11fa23"
}
}
]
Comments
0 comments