Mercurial > gemma
annotate client/src/components/App.vue @ 5095:e21cbb9768a2
Prevent duplicate fairway areas
In principal, there can be only one or no fairway area at each point
on the map. Since polygons from real data will often be topologically
inexact, just disallow equal geometries. This will also help to
avoid importing duplicates with concurrent imports, once the history
of fairway dimensions will be preserved.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 25 Mar 2020 18:10:02 +0100 |
parents | 8f421cd3c746 |
children | 1695e17c5a83 |
rev | line source |
---|---|
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
1 <template> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
2 <div id="app" class="main"> |
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
3 <div v-if="isAuthenticated" class="d-flex flex-column userinterface"> |
2705
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
4 <div class="boxes d-flex p-2"> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
5 <div class="mr-auto d-flex"> |
2983
2e7c0f9cff24
client: removed unnecessary component property
Markus Kottlaender <markus@intevation.de>
parents:
2968
diff
changeset
|
6 <Sidebar /> |
2283
1169f18a0f11
make room for searchbar
Thomas Junk <thomas.junk@intevation.de>
parents:
1585
diff
changeset
|
7 <div :class="searchContainer"> |
2596
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
8 <Search v-if="isMapVisible" /> |
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
9 <Contextbox v-if="isMapVisible" /> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
10 </div> |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
11 </div> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
12 <div class="ml-auto d-flex"> |
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
13 <div class="d-flex flex-column align-items-end"> |
2596
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
14 <Profiles v-if="isMapVisible" /> |
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
15 <Gauges v-if="isMapVisible" /> |
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
16 <Pdftool v-if="isMapVisible" /> |
3233
9a02b770c2e6
show_statistics: refac to fairwayavailability
Thomas Junk <thomas.junk@intevation.de>
parents:
3204
diff
changeset
|
17 <AvailableFairwayDepthDialogue v-if="isMapVisible" /> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
18 </div> |
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
19 <div class="d-flex flex-column align-items-end"> |
4350
e4e32c77ed83
identify: improve legend. Keepalive keeps nash sutcliffe in component
Thomas Junk <thomas.junk@intevation.de>
parents:
4321
diff
changeset
|
20 <keep-alive> |
e4e32c77ed83
identify: improve legend. Keepalive keeps nash sutcliffe in component
Thomas Junk <thomas.junk@intevation.de>
parents:
4321
diff
changeset
|
21 <Identify v-if="isMapVisible" /> |
e4e32c77ed83
identify: improve legend. Keepalive keeps nash sutcliffe in component
Thomas Junk <thomas.junk@intevation.de>
parents:
4321
diff
changeset
|
22 </keep-alive> |
2596
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
23 <Layers v-if="isMapVisible" /> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
24 </div> |
2596
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
25 <Toolbar v-if="isMapVisible" /> |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
26 </div> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
27 </div> |
3204
1253fe15e3e3
client: identify: implemented popup when clicking the map and the intention is not clear...
Markus Kottlaender <markus@intevation.de>
parents:
3182
diff
changeset
|
28 <MapPopup /> |
5036
8f421cd3c746
client: Implemented first version of time-sliding
Fadi Abbud <fadi.abbud@intevation.de>
parents:
4867
diff
changeset
|
29 <TimeSlider v-if="isMapVisible" /> |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
30 </div> |
2553
99dc71e012ad
client: removed unnecessary html
Markus Kottlaender <markus@intevation.de>
parents:
2552
diff
changeset
|
31 <router-view /> |
2596
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
32 <vue-snotify /> |
2384
c06b001dc26b
client: improved popup implementation
Markus Kottlaender <markus@intevation.de>
parents:
2378
diff
changeset
|
33 <Popup /> |
3553
869505c5087b
client: fairway profile: close compare view with ESC key
Markus Kottlaender <markus@intevation.de>
parents:
3298
diff
changeset
|
34 <KeyboardHandler /> |
3857
6ce80daf8413
Hydrological conditions: render svg in offscreen element
Thomas Junk <thomas.junk@intevation.de>
parents:
3553
diff
changeset
|
35 <div |
6ce80daf8413
Hydrological conditions: render svg in offscreen element
Thomas Junk <thomas.junk@intevation.de>
parents:
3553
diff
changeset
|
36 id="offScreen" |
6ce80daf8413
Hydrological conditions: render svg in offscreen element
Thomas Junk <thomas.junk@intevation.de>
parents:
3553
diff
changeset
|
37 style="position: absolute; z-index: -1; top: 600px;" |
6ce80daf8413
Hydrological conditions: render svg in offscreen element
Thomas Junk <thomas.junk@intevation.de>
parents:
3553
diff
changeset
|
38 ></div> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
39 </div> |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
40 </template> |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
41 |
2705
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
42 <style lang="sass" scoped> |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
43 #app |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
44 height: 100% |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
45 width: 100% |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
46 font-family: "Avenir", Helvetica, Arial, sans-serif |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
47 -webkit-font-smoothing: antialiased |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
48 -moz-osx-font-smoothing: grayscale |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
49 text-align: center |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
50 color: #2c3e50 |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
51 |
2705
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
52 .userinterface |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
53 position: absolute |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
54 top: 0 |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
55 left: 0 |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
56 right: 0 |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
57 bottom: 0 |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
58 z-index: 4 |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
59 pointer-events: none |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
60 |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
61 .boxes |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
62 position: relative |
eb3d7a429eb0
client: styling: fix z-index issues
Markus Kottlaender <markus@intevation.de>
parents:
2596
diff
changeset
|
63 z-index: 10 |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
64 </style> |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
65 |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
66 <script> |
1362
ca33ad696594
remove the first empyty lines
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1361
diff
changeset
|
67 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
68 * without warranty, see README.md and license for details. |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
69 * |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
70 * SPDX-License-Identifier: AGPL-3.0-or-later |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
71 * License-Filename: LICENSES/AGPL-3.0.txt |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
72 * |
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
73 * Copyright (C) 2018 by via donau |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
74 * – Österreichische Wasserstraßen-Gesellschaft mbH |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
75 * Software engineering by Intevation GmbH |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1291
diff
changeset
|
76 * |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
77 * Author(s): |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
78 * Thomas Junk <thomas.junk@intevation.de> |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
79 * Markus Kottländer <markus.kottlaender@intevation.de> |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
80 */ |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
81 import { mapState } from "vuex"; |
4867
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
82 import { displayError } from "@/lib/errors"; |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
83 |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
84 export default { |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
85 name: "app", |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
86 computed: { |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
87 ...mapState("user", ["isAuthenticated"]), |
4867
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
88 ...mapState("application", [ |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
89 "contextBoxContent", |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
90 "showSearchbar", |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
91 "backendError" |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
92 ]), |
2378
c69432c1c4ac
router: fixed frontend routing. renamed routes. changed display according to new route names
Thomas Junk <thomas.junk@intevation.de>
parents:
2370
diff
changeset
|
93 isMapVisible() { |
3298
ec27ee21f7bc
client: define sections: added route and support in context box
Markus Kottlaender <markus@intevation.de>
parents:
3233
diff
changeset
|
94 return /importconfiguration|importoverview|stretches|sections|review|bottlenecks|mainview/.test( |
2983
2e7c0f9cff24
client: removed unnecessary component property
Markus Kottlaender <markus@intevation.de>
parents:
2968
diff
changeset
|
95 this.$route.name |
2399 | 96 ); |
2378
c69432c1c4ac
router: fixed frontend routing. renamed routes. changed display according to new route names
Thomas Junk <thomas.junk@intevation.de>
parents:
2370
diff
changeset
|
97 }, |
2283
1169f18a0f11
make room for searchbar
Thomas Junk <thomas.junk@intevation.de>
parents:
1585
diff
changeset
|
98 searchContainer() { |
1169f18a0f11
make room for searchbar
Thomas Junk <thomas.junk@intevation.de>
parents:
1585
diff
changeset
|
99 return [ |
4774
1fd771b08ced
import_overview: added 'changed' column
Thomas Junk <thomas.junk@intevation.de>
parents:
4350
diff
changeset
|
100 "ml-1", |
2283
1169f18a0f11
make room for searchbar
Thomas Junk <thomas.junk@intevation.de>
parents:
1585
diff
changeset
|
101 { |
1169f18a0f11
make room for searchbar
Thomas Junk <thomas.junk@intevation.de>
parents:
1585
diff
changeset
|
102 wide: this.showSearchbar |
1169f18a0f11
make room for searchbar
Thomas Junk <thomas.junk@intevation.de>
parents:
1585
diff
changeset
|
103 } |
1169f18a0f11
make room for searchbar
Thomas Junk <thomas.junk@intevation.de>
parents:
1585
diff
changeset
|
104 ]; |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
105 } |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
106 }, |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
107 components: { |
4321
6dfbf534818b
Improve naming and rename fairway/Profiles to fairway/BottleneckDialogue
Thomas Junk <thomas.junk@intevation.de>
parents:
3857
diff
changeset
|
108 Profiles: () => import("./fairway/BottleneckDialogue"), |
2596
8774054959a7
client: added Gauges dialog/tool to show waterlevel diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
109 Gauges: () => import("./gauge/Gauges"), |
1558
0ded4c56978e
refac: component filestructure. remove admin/map hierarchy
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
110 Pdftool: () => import("./Pdftool"), |
2370
7fe2f5d334dc
client: improved identify tool readability
Markus Kottlaender <markus@intevation.de>
parents:
2322
diff
changeset
|
111 Identify: () => import("./identify/Identify"), |
1558
0ded4c56978e
refac: component filestructure. remove admin/map hierarchy
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
112 Layers: () => import("./layers/Layers"), |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
113 Sidebar: () => import("./Sidebar"), |
1558
0ded4c56978e
refac: component filestructure. remove admin/map hierarchy
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
114 Search: () => import("./Search"), |
5036
8f421cd3c746
client: Implemented first version of time-sliding
Fadi Abbud <fadi.abbud@intevation.de>
parents:
4867
diff
changeset
|
115 TimeSlider: () => import("./TimeSlider"), |
1558
0ded4c56978e
refac: component filestructure. remove admin/map hierarchy
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
116 Contextbox: () => import("./Contextbox"), |
2384
c06b001dc26b
client: improved popup implementation
Markus Kottlaender <markus@intevation.de>
parents:
2378
diff
changeset
|
117 Toolbar: () => import("./toolbar/Toolbar"), |
2549
9bf6b767a56a
client: refactored and improved splitscreen for diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2534
diff
changeset
|
118 Popup: () => import("./Popup"), |
3233
9a02b770c2e6
show_statistics: refac to fairwayavailability
Thomas Junk <thomas.junk@intevation.de>
parents:
3204
diff
changeset
|
119 AvailableFairwayDepthDialogue: () => |
9a02b770c2e6
show_statistics: refac to fairwayavailability
Thomas Junk <thomas.junk@intevation.de>
parents:
3204
diff
changeset
|
120 import("./fairway/AvailableFairwayDepthDialogue.vue"), |
3553
869505c5087b
client: fairway profile: close compare view with ESC key
Markus Kottlaender <markus@intevation.de>
parents:
3298
diff
changeset
|
121 MapPopup: () => import("./map/MapPopup"), |
869505c5087b
client: fairway profile: close compare view with ESC key
Markus Kottlaender <markus@intevation.de>
parents:
3298
diff
changeset
|
122 KeyboardHandler: () => import("./KeyboardHandler") |
4867
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
123 }, |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
124 watch: { |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
125 backendError() { |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
126 if (this.backendError) { |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
127 displayError({ |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
128 title: this.$gettext("Backend Error"), |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
129 message: this.$gettext( |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
130 "The Map information may be corrupted due to a backend error. Please contact your system operator" |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
131 ), |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
132 options: { |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
133 timeout: 0, |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
134 showProgressBar: false, |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
135 closeOnClick: true, |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
136 pauseOnHover: true, |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
137 oneAtTime: true, |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
138 bodyMaxLength: 1024 |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
139 } |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
140 }); |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
141 } |
5555b77b8c4e
report backenderror due to failing OL loaders
Thomas Junk <thomas.junk@intevation.de>
parents:
4774
diff
changeset
|
142 } |
1272
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
143 } |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
144 }; |
bc55ffaeb639
cleaned up client/src directory
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
145 </script> |