• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

geosolutions-it / MapStore2 / 19710972030

26 Nov 2025 03:38PM UTC coverage: 76.665% (-0.3%) from 76.929%
19710972030

Pull #11119

github

web-flow
Fix maven publish (#11739)
Pull Request #11119: Layer Selection Plugin on ArcGIS, WFS & WMS layers

32272 of 50209 branches covered (64.28%)

3 of 3 new or added lines in 2 files covered. (100.0%)

3018 existing lines in 249 files now uncovered.

40157 of 52380 relevant lines covered (76.66%)

37.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/web/client/reducers/style.js
1
/**
2
 * Copyright 2016, GeoSolutions Sas.
3
 * All rights reserved.
4
 *
5
 * This source code is licensed under the BSD-style license found in the
6
 * LICENSE file in the root directory of this source tree.
7
 */
8

9
import { SET_STYLE_PARAMETER } from '../actions/style';
10

11
const initialSpec = {
1✔
12
    color: { r: 0, g: 0, b: 255, a: 1 },
13
    width: 3,
14
    fill: { r: 0, g: 0, b: 255, a: 0.1 },
15
    radius: 10,
16
    marker: false
17
};
18

19
function style(state = initialSpec, action) {
1✔
20
    switch (action.type) {
1!
21
    case SET_STYLE_PARAMETER: {
22
        return Object.assign({}, state, {[action.name]: action.value});
1✔
23
    }
24
    default:
UNCOV
25
        return state;
×
26
    }
27
}
28

29
export default style;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc