• 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

85.71
/web/client/components/map/leaflet/plugins/GraticuleLayer.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 Layers from '../../../../utils/leaflet/Layers';
10
import SimpleGraticule from 'leaflet-simple-graticule/L.SimpleGraticule';
11

12
require('leaflet-simple-graticule/L.SimpleGraticule.css');
1✔
13

14
Layers.registerType('graticule', {
1✔
15
    create: (options) => {
16
        const graticuleOptions = Object.assign({
1✔
17
            interval: 20,
18
            showOriginLabel: true,
19
            redraw: 'move'
20
        }, options);
21
        if (SimpleGraticule) {
1!
22
            return new SimpleGraticule(graticuleOptions);
1✔
23
        }
UNCOV
24
        return null;
×
25
    },
26
    isValid: () => {
27
        return SimpleGraticule ? true : false;
2!
28
    }
29
});
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