In Map Viewer classic there is an option to set default style for layers. For example if I overwrite the service with new styles I can set default style in Map Viewer Classic. Can't see this option in new map viewer.
that didn't work on ArcGIS Enterprise 11.3 WebMap 😞
1. Open in Map Viewer
2. Select any Location style. For.eg. Your layer default style is Location (Unique Symbol), then make it as Location (Single Symbol). Save it.
3. Again Select set drawing style and the option for Set Default style will be visible. Click it and save.
No immediate plans to add this to styling panel yet but we do have a reset to source control on the layer that will reset the layer back to its original state. This would in the case for a layer added by URL set the layer back to the source URL props while if it was from an item the layer would reset to the item configuration.
I'd like this functionality ported as well. It's not something that I should need to do often, @RussRoberts, but it does come up. The workarounds for not being able to simply remove configured drawing info from a layer are not good.
As the 3.x JS API disappears into the past and Map Viewer Classic goes with it, it will become a substantially greater annoyance to deal with this issue. Please consider exposing the ability to remove web map layer renderer configurations in the new Map Viewer.
Good morning, found this post and I would like to add some more detail.
Let me add that using the default styles from the layer it's not only a fact of usability in configuration.It also has a performance downgrade: When the styles are setup at web map level, then the applications has to send the styles (json) on every query it's done to the servers. Those styles have to be parsed, etc... On the other hand when using the default styles from the layer, this is not necessary.
On mapserver the performance also means that starts making 2 queryies (POST to /export) instead of a direct GET query.
Well I would say enough often that I would start missing this functionality very fast when we plan to start using new map viewer. Currently we are using old map viewer, and I thought that I try to use the new one with one project due to the layer grouping functionality. Lets say you are setting up a map and after showing it to customer the customer wants some symbols to be changed. So instead of removing the layer and adding again and setting again popups and stuff you could just set default symbology.
Currently no immediate plans to expose this in Map Viewer. Are you returning to the renderer at the service level often after you styled a layer?
I mean this button in map viewer classic. Can I do that in new map viewer?
Not sure I am following - new Map Viewer supports the styling layers. Do you mean save layer?
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.