Labels from Basemap overlay the operational data

2829
2
Jump to solution
12-05-2016 09:19 PM
PitersonPaulgek
New Contributor III

Hi,

We have ESRI "Imagery with Labels" basemap and some operational layer - Points. The labels from the basemap are on the front, and overlay the operational layer.

How to "send to back" the labels?

0 Kudos
1 Solution

Accepted Solutions
FC_Basson
MVP Regular Contributor

The hybrid layer uses two different Map Services to show the imagery and the labels and I think the basemap constructor for that layer will always put the labels on top.  If you want to manipulate the labels layer seperately, you might need to use the satellite layer (Imagery without labels) as basemap and add the label reference layer separately (Reference/World_Boundaries_and_Places (MapServer) ) .  Then you can use the map.reorderLayer function (Map | API Reference | ArcGIS API for JavaScript 3.18 ) to set the labels layer index

View solution in original post

2 Replies
FC_Basson
MVP Regular Contributor

The hybrid layer uses two different Map Services to show the imagery and the labels and I think the basemap constructor for that layer will always put the labels on top.  If you want to manipulate the labels layer seperately, you might need to use the satellite layer (Imagery without labels) as basemap and add the label reference layer separately (Reference/World_Boundaries_and_Places (MapServer) ) .  Then you can use the map.reorderLayer function (Map | API Reference | ArcGIS API for JavaScript 3.18 ) to set the labels layer index

PitersonPaulgek
New Contributor III

Thank you FC Basson.

0 Kudos