Tag Info

New answers tagged

5

I was able to replicate your problem, but found a solution. You have to remove the datasets that are used by Terrain dataset first before you can delete it. A bit weird but that seems the way it must work... So the following code completely removed the FeatureDataset containing the Terrain datasets and the FeatureClass used to construct it. The order that ...


2

You can combine the two layers as a single Basemap and pass them to the map constructor. Below is a full working example using the two layers you are interested in. This came from a discussion we had over on github related to using non-mercator maps as basemaps for the Configurable Map Viewer (cmv) that is based on the ESRI JS API. This does not fully ...


1

You can only use the Esri pre-canned basemaps ("streets", "satellite", "topo", etc.) in the constructor. If you search the Esri JavaScript code, you can find "Streets" and "Satellite" basemaps defined in the code, but not "Terrain". You don't actually have to specify a basemap in the constructor. In the code example below, I am adding the streets basemap ...


1

The map reference lists the available basemaps which can be specified using the keyword: Valid values are: "streets" , "satellite" , "hybrid", "topo", "gray", "oceans", "national-geographic", "osm". You can add other layers as a basemap by finding their REST endpoint and adding them as a tiled layer. There's a example script here. The Esri Terrain layer ...


0

do you mean identify features? and also working with raster data?



Top 50 recent answers are included