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
Copy file name to clipboardExpand all lines: src/web-map.js
+5-3
Original file line number
Diff line number
Diff line change
@@ -248,10 +248,12 @@ export class WebMap extends HTMLMapElement {
248
248
}
249
249
}
250
250
251
-
// undisplay the img in the image map, because it's not needed now
252
-
// gives a slight fouc, not optimal
251
+
// undisplay the img in the image map, because it's not needed now.
252
+
// gives a slight FOUC, unless:
253
+
// 1) the img is pre-styled (https://github.com/Maps4HTML/Web-Map-Custom-Element/blob/80a4a4e372d2ef61bb7cad6a111e17e396b8e908/index-map-area.html#L35)
0 commit comments