HI all,
I added a dynamic MapService to the agol-map, configured then some popups and saved it as a Map Image Layer in my organization.
Now, I want to code a map, where the user can add this Map Image Layer. All the things configured and saved should be available in the webmap - this is the same behaviour like searching and adding the same Map Image Layer to the agol-map.
How can I achieve this with the ArcGIS API for JavaScript?
Thanks for your ideas!
Martin