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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: