• 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

50.0
/web/client/reducers/locate.js
1
/**
2
 * Copyright 2015, 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 { CHANGE_LOCATE_STATE, LOCATE_ERROR } from '../actions/locate';
10

11

12
function locate(state = {state: "DISABLED"}, action) {
×
13
    switch (action.type) {
4!
14
    case CHANGE_LOCATE_STATE:
15
        return Object.assign({}, state, {
4✔
16
            state: action.state
17
        });
18
    case LOCATE_ERROR:
UNCOV
19
        return Object.assign({}, state, {
×
20
            error: action.error
21
        });
22
    default:
UNCOV
23
        return state;
×
24
    }
25

26
}
27

28
export default locate;
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