Skip to content

Instantly share code, notes, and snippets.

@RalucaNicola
Created August 16, 2019 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RalucaNicola/026b6ade12252eb5c66e22b14c06d1cd to your computer and use it in GitHub Desktop.
Save RalucaNicola/026b6ade12252eb5c66e22b14c06d1cd to your computer and use it in GitHub Desktop.
Custom basemap
const basemap = new Basemap({
baseLayers: [
new TileLayer({
url: "https://tiles.arcgis.com/tiles/nGt4QxSblgDfeJn9/arcgis/rest/services/terrain_with_heavy_bathymetry/MapServer"
})
]
});
const map = new Map({
basemap: basemap
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment