We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b86e6 commit 83312d6Copy full SHA for 83312d6
map-styles.html
@@ -4,7 +4,24 @@
4
<style>
5
/* required styles copied from leaflet.css for use in web-map and related
6
custom elements */
7
-
+/* this is required by tiles which are actually divs with multiple images in them */
8
+.leaflet-tile img {
9
+ position: absolute;
10
+ left: 0;
11
+ top: 0;
12
+ }
13
+
14
+/* MapML treats images like map layers, so far as fade animation is concerned */
15
+.leaflet-fade-anim .leaflet-image-layer {
16
+ will-change: opacity;
17
18
19
+.leaflet-image-layer {
20
+ visibility: hidden;
21
22
+.leaflet-image-loaded {
23
+ visibility: inherit;
24
25
.leaflet-pane,
26
.leaflet-tile,
27
.leaflet-marker-icon,
0 commit comments