Skip to content

Commit

Permalink
updated shading dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
zdila committed Apr 9, 2022
1 parent 64f9fc2 commit 45584b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions style/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ function layers(shading, contours, hikingTrails, bicycleTrails, skiTrails, horse
'mask',
{
type: 'gdal',
file: 'shading/sk-mask.tif',
file: 'shading/sk/mask.tif',
},
{ compOp: 'dst-out' },
);
Expand All @@ -490,7 +490,7 @@ function layers(shading, contours, hikingTrails, bicycleTrails, skiTrails, horse
// 'mask',
// {
// type: 'gdal',
// file: 'shading/at-mask.tif',
// file: 'shading/at/mask.tif',
// },
// { compOp: 'dst-out' },
// );
Expand Down Expand Up @@ -559,7 +559,7 @@ function layers(shading, contours, hikingTrails, bicycleTrails, skiTrails, horse
function addShadingAndContours(cc, cutCcs) {
map.layer('mask', {
type: 'gdal',
file: `shading/${cc}-mask.tif`,
file: `shading/${cc}/mask.tif`,
}, { compOp: 'src-over' }, {}, ({layer}) => {
layer(
'sea', // any
Expand Down Expand Up @@ -587,7 +587,7 @@ function layers(shading, contours, hikingTrails, bicycleTrails, skiTrails, horse
'hillshade',
{
type: 'gdal',
file: `shading/${cc}.tif`,
file: `shading/${cc}/final.tif`,
},
{ },
{ },
Expand All @@ -597,7 +597,7 @@ function layers(shading, contours, hikingTrails, bicycleTrails, skiTrails, horse
for (const cutCc of cutCcs) {
layer('mask', {
type: 'gdal',
file: `shading/${cutCc}-mask.tif`,
file: `shading/${cutCc}/mask.tif`,
}, { compOp: 'dst-out' });
}
}
Expand Down Expand Up @@ -633,7 +633,7 @@ function layers(shading, contours, hikingTrails, bicycleTrails, skiTrails, horse
'mask',
{
type: 'gdal',
file: `shading/${cc}-mask.tif`,
file: `shading/${cc}/mask.tif`,
},
{},
);
Expand Down

0 comments on commit 45584b8

Please sign in to comment.