Has anyone else experienced that identify still brings up a pop up for layers that aren't even turned on in the map? I am using a map published with Server and placed on ArcGIS Online.
Hi Jianxia, thanks for the reply.
I have checked the 'layer list' as you suggested and can see now what is happening.
The service is published from Arcgis server as a feature service. In the web map I have brought in both the 'map service' and the 'feature service' so that I get both the labelling and the editing capabilities. Pop-ups are enabled in the web map, and in AGOL this causes pop-ups to appear whether in edit mode or not.
However, in WAB, when you bring in both the map service AND feature layer, you end up with two entries for each layer affected. When I examined the layer list context menu closely for one of these layers I notice that pop-ups is enabled on the 'feature service' one, meaning that the pop-ups display when the edit widget is active, but pop-ups for some reason are disabled on the 'map service'. If I go ahead and 'enable' them then it works.
So there are two issues here: one is that in this situation the pop-up should really be enabled by default on both. Second is loosely related but probably a separate discussion- the whole concept of having two entries for each layer is very confusing for end users and I wish there was a way to control everything through one entry!
If you email me paul@gpsit.co.nz I'm happy to provide link to sample web app with login so you can see what I mean.
Cheers,
-Paul
Like Map Viewer, the Layer list should only displays services from map server when both feature server and map server from the same layers are added. This is an issue in WAB and we will address it. Thank Paul for his feedback.
The pop up might be affected by this issue as well. In general, WAB carries on the pop ups set in map viewer.
Jianxia