Labels on Feature Layer not Showing

07-17-2018 07:46 AM
New Contributor II

I have a MapImageLayer that I am using for my Basemap

var baseMapLayer = new MapImageLayer({ url: "" });


var basemapDave = new Basemap({ baseLayers: [baseMapLayer], title: "Custom Basemap", id: "myBasemap" });

var map = new Map({ basemap: basemapDave, layers: [cOverlayLyr] });

var view = new MapView({

container: "viewDiv", 

map: map, 

zoom: 20, 

center: [-122.1842, 44.6359]  });

I then add a feature layer that I declared. 

var waterwaysLayer = new FeatureLayer({
url: ""


When my map displays, I have my BaseMap and the layer visible. The layer is the major waterways of the US. So I see the rivers, lakes, oceans, but my labels are not showing and I do not understand why. If run a test case where the Waterways layer is my basemap, I see the labels.

0 Kudos
0 Replies