Skip to content
Snippets Groups Projects
Commit 20bc56ea authored by Timothee P's avatar Timothee P :sunflower:
Browse files

keep custom controls above full screen map

parent 73d1e41c
No related branches found
No related tags found
1 merge request!584REDMINE_ISSUE-17372 | Ajouter une fonctionnalité de mise en plein écran de la carte
......@@ -13,6 +13,7 @@
border: 1px solid grey;
top: 0;
position: absolute;
z-index: 9;
}
.sidebar-layers {
......
......@@ -124,6 +124,7 @@ export default {
border-radius: 4px;
background-clip: padding-box;
padding: 0;
z-index: 9;
}
.leaflet-bar {
......
......@@ -67,9 +67,6 @@ const mapService = {
],
} = options;
if (el.innerHTML) {
el.innerHTML = '';
}
if (fullScreenControl) {
controls.push(new FullScreen());
}
......
......@@ -37,11 +37,12 @@
<div
id="map"
ref="map"
/>
<SidebarLayers
v-if="basemaps && map"
ref="sidebar"
/>
>
<SidebarLayers
v-if="basemaps && map"
ref="sidebar"
/>
</div>
<div
id="popup"
class="ol-popup"
......
......@@ -250,7 +250,13 @@
<div
id="map"
ref="map"
/>
>
<SidebarLayers v-if="basemaps && map" />
<EditingToolbar
v-if="isEditable"
:map="map"
/>
</div>
<div
id="popup"
class="ol-popup"
......@@ -265,11 +271,6 @@
/>
</div>
<SidebarLayers v-if="basemaps && map" />
<EditingToolbar
v-if="isEditable"
:map="map"
/>
</div>
</div>
......
......@@ -21,12 +21,13 @@
<div
id="map"
ref="map"
/>
<SidebarLayers
v-if="basemaps && map"
ref="sidebar"
/>
<Geocoder />
>
<SidebarLayers
v-if="basemaps && map"
ref="sidebar"
/>
<Geocoder />
</div>
<div
id="popup"
class="ol-popup"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment