You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -241,7 +241,7 @@ export class MapViewer extends HTMLElement {
241
241
letmapDefaultCSS=document.createElement('style');
242
242
mapDefaultCSS.innerHTML=
243
243
`:host {`+
244
-
`all: initial;`+// Reset properties inheritable from html/body, as some inherited styles may cause unexpected issues with the map element's components (https://github.com/Maps4HTML/Web-Map-Custom-Element/issues/140).
244
+
`all: initial;`+// Reset properties inheritable from html/body, as some inherited styles may cause unexpected issues with the map element's components (https://github.com/Maps4HTML/MapML.js/issues/140).
245
245
`contain: layout size;`+// Contain layout and size calculations within the map element.
246
246
`display: inline-block;`+// This together with dimension properties is required so that Leaflet isn't working with a height=0 box by default.
247
247
`height: 150px;`+// Provide a "default object size" (https://github.com/Maps4HTML/HTML-Map-Element/issues/31).
@@ -256,7 +256,7 @@ export class MapViewer extends HTMLElement {
256
256
`display: none!important;`+
257
257
`}`+
258
258
`:host .leaflet-control-container {`+
259
-
`visibility: hidden!important;`+// Visibility hack to improve percieved performance (mitigate FOUC) – visibility is unset in mapml.css! (https://github.com/Maps4HTML/Web-Map-Custom-Element/issues/154).
259
+
`visibility: hidden!important;`+// Visibility hack to improve percieved performance (mitigate FOUC) – visibility is unset in mapml.css! (https://github.com/Maps4HTML/MapML.js/issues/154).
260
260
`}`;
261
261
262
262
// Hide all (light DOM) children of the map element.
0 commit comments