Select to view content in your preferred language

Differences in embedding from Mapviewer Classic to new Mapviewer

156
0
04-09-2025 09:43 AM
jack_morse_or
Emerging Contributor

Hello,

Recently my embedded map viewer classic products have ran into authentication issues, and a new popup urging an upgrade to the new map viewer that ruins the experience. This is following an organizational upgrade to from 10.9.1 to 11.3

If I choose to embed the new map viewer product, it's lacking the mapOnly URL parameter.

jack_morse_or_0-1744216312144.png

And if I can't hide the details and layers and all the junk that I don't want to see, then I'm left with all this junk opening like this:

 

 

jack_morse_or_1-1744216370361.png

in comparison to the map viewer classic:

jack_morse_or_2-1744216436721.png

Wow, so clean on load!


So you're probably going to suggest using the Embed URL parameters for webmaps...

jack_morse_or_3-1744216555393.png


It doesn't seem fully supported, as each way I try to construct an Embed parameterized URL to focus on a subset of layers I'd like to embed, it returns the original layer exposed when the webmap was published.


So, my simple ask: How do I properly structure my URL to generate a webmap with a particular set of layers, with the details, layers, legend, etc all hidden in a "mapOnly" format?

 

Original URL: https://{domain}/arcgis/home/webmap/viewer.html?layers={layer_id}&center={lat},{long}&level=16&mapOnly=true

Thanks for the support,

Jack

0 Replies