As we all know: "Layers are always displayed on top of a basemap and feature layers are always displayed on top of heat maps and tileset layers (map, imagery, and tiles). Depending on the type of layers you have in your map, you may not be able to move them all up or down. For example, if you have one map layer and three feature layers, you can reorder the feature layers, but you cannot move the map layer on top of them. You cannot reorder a KML layer or a basemap."
I am currently working with WFS services, WMTS services, Feature Services and Map Image Layers within the same web map, and I would like to be able to order the Map Image Layer on top of WFS services (without having to create a Feature Service to replace this Map Service - too many features)
Any work around?
Any plans on changing this ordering limitation in the next AGOL release?
Is this a cached map image layer? If it isn't you can add the specific layer as a feature layer to the map without republishing to add the features above the WFS layer. To do this, add the specific layer:
Instead of the map service:
Thank you for your reply.
I had previously tried this option, but I have observed that the WFS is still slow to load even though it has been initially published as a map service and not as a feature service.
Any other ideas?
Actually I have both issues
But the one I am addressing in this post is that it is not possible to put Map Image or Tiled Layers or Services on top of Feature Searvices including WFS.
I know that this is a current AGOL limitation, and I am hoping that in a future release we will be able to re-order any type of layers in any possible way!
Thank you for reaching back to me,
This won't be addressed in the upcoming release of ArcGIS Online but I've added your request to my requirement. Can you provide some additional information about your layers and what the map service is that you want to place on top of the feature layer? Some improvements to tile layers will be made in the upcoming release which may provide some other options for you.
If it's a layer like a labelling layer, you can add the layer to the basemap and set the map image as a reference layer. This may get you up and running for the time being.
Sorry for the late answer here.
Most of the time, my web maps will contain a variety of layer types such as: feature services, map services, hosted feature services, tile layers (map or vector), ...
And the rule is that feature services must always sit on top of map services. There is always a way to work around this by playiong with the way the data is published (AGOL as a feature service or a map tile, or directly onto a GIS server).
I have also tested your suggestion of moving a layer to the basemap - it can be a useful solution for some situations.
But the capability of being able to organize layers in any possible order desppite their type (feature or image layer) would save some handeling time.
I will be looking forward to seeing this happening in a near future, as it may simplify some of my workflows.
This would be super useful. Since the order of the pop-ups go through the order of the TOC, being able to move Map Services above Feature Services is an absolute necessity on our end.
Are you taking advantage of the full map service that is being added to your web map or individual layers. If you are dependent on the export map request for something like group layers, then the map service will be drawn under the feature layers. If you add each layer individually as a feature layer from the map service, then you will be able to visualize in the order you requested.
Note: Pop ups don't have a specific order that they display in like the TOC. They are displayed in the order that the requests return.
Edit July 2018: Pop Ups do display in a specific order. With feature layers, the pop ups will display in an order corresponding with the feature layers in the Table of Contents. Map Image Layers and tile layers do not fall within this order.
Let us know how you are using the layers and what functionality of the export map request you are using is.
"Pop-ups don't have a specific order..." - so, is there any way to control which popup is first? if it's the order that the requests return, would it be fair to say that the less 'complicated' pop-up would return first? I have a webmap with two layers, one has a configured popup with an html link, the other has attributes, many of which I have aliased in the web map attribute configurations. Could this be why the attribute configuration popup is showing up underneath the html link? I've been struggling with map TOC layers but maybe that's not the issue...