WIP: exit from building view (buggy)
This commit is contained in:
+5
-5
@@ -62,13 +62,13 @@ UI.addCenterMapControl = function (map, centerCoords, zoom) {
|
||||
|
||||
UI.addBuildingViewBar = function() {
|
||||
const bar = document.createElement('div');
|
||||
bar.className = 'container bview-bar has-background-primary-90 p-4';
|
||||
bar.setAttribute('data-controller', 'menu');
|
||||
bar.setAttribute('data-menu-target', 'element');
|
||||
bar.className = 'container bview-bar has-background-primary-90 p-3';
|
||||
bar.setAttribute('data-bview-target', 'bar');
|
||||
|
||||
bar.innerHTML = html`
|
||||
<button title="Esci da mappa USM" class="delete is-pulled-right" data-action="menu#removeElement"></button>
|
||||
<p class="has-text-centered has-text-weight-semibold is-size-4 is-fullwidth p-3">Mappa Unità Stratigrafica Muraria (USM)</p>
|
||||
<button title="Esci da mappa USM" class="delete is-pulled-right" data-action="bview#closeView"></button>
|
||||
<p class="has-text-centered has-text-weight-semibold is-size-5 p-2">Mappa Unità Stratigrafica Muraria (USM)</p>
|
||||
<p class="has-text-centered is-size-6 mt-0 pt-0">(Chiudere questo riquadro o premere ESC per uscire)</p>
|
||||
`;
|
||||
|
||||
document.body.appendChild(bar);
|
||||
|
||||
Reference in New Issue
Block a user