Skip to content

Commit

Permalink
Fix #9159 Map views mask is not working (#9160)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored May 12, 2023
1 parent ac0832a commit fe66a7e
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 fe66a7e

Please sign in to comment.