Skip to content

Commit

Permalink
Fix geosolutions-it#9159 Map views mask is not working (geosolutions-…
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored May 15, 2023
1 parent 0f397f0 commit da7a876
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions web/client/epics/__tests__/mapviews-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,26 @@ describe('mapviews epics', () => {
UPDATE_ADDITIONAL_LAYER,
UPDATE_ADDITIONAL_LAYER
]);

expect(actions[4].options.style).toBeTruthy();
expect(actions[4].options.style).toEqual({
format: 'geostyler',
body: {
name: '',
rules: [
{
name: '',
symbolizers: [{
kind: 'Fill',
color: '#ffffff',
fillOpacity: 0,
msClampToGround: true,
msClassificationType: '3d'
}]
}
]
}
});
} catch (e) {
done(e);
}
Expand Down
4 changes: 3 additions & 1 deletion web/client/epics/mapviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ export const updateMapViewsLayers = (action$, store) =>
symbolizers: [{
kind: 'Fill',
color: '#ffffff',
fillOpacity: 0
fillOpacity: 0,
msClampToGround: true,
msClassificationType: '3d'
}]
}
]
Expand Down

0 comments on commit da7a876

Please sign in to comment.