Merge pull request #263 from orangemug/feature/hillshading

Added hillshading support
This commit is contained in:
Orange Mug
2018-02-18 14:53:58 +00:00
committed by GitHub
10 changed files with 50 additions and 25 deletions

View File

@@ -38,7 +38,7 @@ function buildInspectStyle(originalMapStyle, coloredLayers, highlightedLayer) {
const sources = {}
Object.keys(originalMapStyle.sources).forEach(sourceId => {
const source = originalMapStyle.sources[sourceId]
if(source.type !== 'raster') {
if(source.type !== 'raster' && source.type !== 'raster-dem') {
sources[sourceId] = source
}
})