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

geosolutions-it / MapStore2 / 19735587487

27 Nov 2025 09:59AM UTC coverage: 76.667% (-0.3%) from 76.929%
19735587487

Pull #11119

github

web-flow
Fix: #11712 Support for template format on vector layers to visualize embedded conent (#11720)
Pull Request #11119: Layer Selection Plugin on ArcGIS, WFS & WMS layers

32268 of 50209 branches covered (64.27%)

7 of 13 new or added lines in 2 files covered. (53.85%)

3017 existing lines in 248 files now uncovered.

40158 of 52380 relevant lines covered (76.67%)

37.8 hits per line

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

50.0
/web/client/plugins/FullScreen.jsx
1
/*
2
 * Copyright 2017, 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
import { connect } from 'react-redux';
9

10
import { toggleFullscreen } from '../actions/fullscreen';
11
import { toggleFullscreenEpic } from '../epics/fullscreen';
12
import FullScreenButton from '../components/buttons/FullScreenButton';
13

14
/**
15
  * FullScreen Plugin. A button that toggles to fullscreen mode
16
  * @class FullScreen
17
  * @memberof plugins
18
  * @static
19
  *
20
  * @prop {string} cfg.id identifier of the Plugin
21
  * @prop {boolean} cfg.options.querySelector query selector to get the element to zoom. By default .ms2 > div
22
  *
23
  */
24
const FullScreen = connect( ({controls = {}} = {}) => ({
2!
25
    active: controls.fullscreen && controls.fullscreen.enabled
2!
26
}), {
UNCOV
27
    onClick: (pressed, options) => toggleFullscreen(pressed, options.querySelector)
×
28
})(FullScreenButton);
29

30
// removed because it is not supported yet
31
// http://caniuse.com/#feat=fullscreen
32

33
export default {
34
    FullScreenPlugin: Object.assign(FullScreen, {
35
        disablePluginIf: "{state('browser') && state('browser').safari}",
36
        Toolbar: {
37
            name: 'fullscreen',
38
            position: 5,
39
            alwaysVisible: true,
40
            tool: true,
41
            priority: 1
42
        }
43
    }),
44
    reducers: {},
45
    epics: {
46
        toggleFullscreenEpic
47
    }
48
};
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

© 2026 Coveralls, Inc