0

I'm using arcGis on the web with js api. I'm creating a new map:

new Map({
  basemap: 'topo-vector',
}

when i observe the map, i see that besides the 'topo-vector' the is another layer: "world hillshade". How can i remove, or better disable it from the start?

2 Answers 2

1

The definition of "topo-vector" is at https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemaps-for-others. If you don't want the hillshade you can create a Basemap with just the other service:

1

Create your own basemap style based on the Topo Basemap with the Hillshade disabled using the ArcGIS Vector Tile Style Editor then use that in your application.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.