Hi all,
I'm setting up a Multisource vector tile custom basemap and I would like to include a raster Hillshade. I've tried with the following code in the style file but it hasn't work:
"sources": {
"landuse": {
"type": "vector",
"url": "https://ags1.organization.org/arcgis/rest/services/Hosted/TerrainLanduse_V01/VectorTileServer"
} ,
"landcover": {
"type": "vector",
"url": "https://ags1.organization.org/arcgis/rest/services/Hosted/TerrainLandcover_V01/VectorTileServer"
},
"hillshade": {
"type": "raster",
"tiles": [
"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}"
],
"tileSize": 256
}
},
"layers": [
{
"id": "Hills",
"type": "raster",
"source": "hillshade",
"paint": {
"raster-opacity": 0.85
}
},
....
more layers
ArcGIS clients only implement vector tile sources in styles. We do support multiple vector sources though. The difficulty we have is that the vector tile style is a whole map spec for mapbox. For us, we just use it for vector tile layers. Hillshade + vector tiles should be done as two layers in the ArcGIS ecosystem (can be saved out as a web map). This also gives Esri the advantage of supporting things like blend modes that the style spec doesn’t support.
Dear @Andy-Green ,
Thanks for your reply.
I realise it isn’t possible to implement the map in that way. In the meantime, I’d already adopted the two-layer structure. Thanks again, and please keep me updated on any developments.