Hi, I'm having a problem with displaying map layers to a map. Currently, my layer has a darker background and doesn't parse some of the information correctly to the layer on the map, as such:
However, on arcgis.com (ie. https://www.arcgis.com/apps/mapviewer/index.html?url=https://hydro.nationalmap.gov/arcgis/rest/servi...), it doesn't actually darken the background. Both applications are on Arcgis JS 4.24 and there is nothing wrong when adding a layer.
My implementation is simply just creating a new FeatureLayer and adding it to the map, ie:
new FeatureLayer({url: https://hydro.nationalmap.gov/arcgis/rest/services/wbd/MapServer/6});
Is there something that needs to be done to the Layer before adding it to the map such that the darkening parts of the layer aren't and that the parsing is correct? Or is there some sort of open source code to see mapviewer?
This is the map layer I am trying to add to my map: https://hydro.nationalmap.gov/arcgis/rest/services/wbd/MapServer/6.