I'm new to dojo so I'm not sure my code will compile, but I have a working method to save the current operational layers (not basemap) in the window URL query parameters. This means you can send someone a link and it will have the layers turned on that are in the URL query. I'm sure there are bugs to this as it is early days in testing, but if anyone is interested in this and can help with a pull request or can look over the code let me know.
I'm new to dojo so I'm not sure my code will compile, but I have a working method to save the current operational layers (not basemap) in the window URL query parameters. This means you can send someone a link and it will have the layers turned on that are in the URL query. I'm sure there are bugs to this as it is early days in testing, but if anyone is interested in this and can help with a pull request or can look over the code let me know.
Thanks