Open blazeon3 opened 6 years ago
You can get at the ID in a couple different ways. You can look directly at global app variable (app.data.getStoryEntries() will return a list of the contents and you can find the ID via the media property). You can also listen to topic.subscribe("story-loaded-map"). This will fire each time a map is loaded and the returned result holds the webmap ID. The developer guide lays out some other options as well.
Hi,
I need to find the ID of the current web map that is displayed in the app. I need to save the ID in the new variable and work with it. I need an application that changes the legend according to what the web map ID is.
Thanks for the anwers