Hello ppl of GIS, I am using Map Viewer, this is a shared web map from Pro 3.1.1. My basemap layers are tile layers because it was the only way it would honor my original symbology and positions of labels/points/etc. in my map. What I am trying to do, is add the ability to toggle between basemaps, one blank and white, the other world imagery. So when I published this map as an instant app, and added the option to toggle basemaps, the imagery would draw over my water lines. And then I tried to add as a layer, and it is still drawing over my water lines. Is there any possible way around this? I have a feature layer to add the ability to interact with the tile info, but the feature layer is invisible because it does not look like my symbology and is invisible for the purpose of interactivity. Is there any way to add world imagery and maintain lines from baemap tile layers? thanks!
Solved! Go to Solution.
Currently we don't have a toggle state between multiple layers in web maps. It is on our road map though.
I think the workaround could be creating 2 basemaps and using those to switch between the imagery + reference layers and plain white + reference layers. This would then require your org to use a group defined for the basemap gallery and having these 2 web maps in that group.
Can you move the layers you want to draw over the imagery layer into the Reference layer section of the basemap?
It would look like this
So this partially worked... as in my lines drew over the imagery, but I need the ability to toggle between world imagery and the plain white basemap. Since the water lines are reference layers in the basemap, when i tried to toggle, the lines and meters would disappear and only appear when the world imagery was enabled. Any way to get to keep the reference / basemap / tile layers visible (waterlines, meters and valves) and only toggle the world imagery and blank white background?
Currently we don't have a toggle state between multiple layers in web maps. It is on our road map though.
I think the workaround could be creating 2 basemaps and using those to switch between the imagery + reference layers and plain white + reference layers. This would then require your org to use a group defined for the basemap gallery and having these 2 web maps in that group.