tile/popup fade animation
This commit is contained in:
parent
90a66c96e1
commit
728c7920f2
30
dist/leaflet.css
vendored
30
dist/leaflet.css
vendored
@ -26,12 +26,6 @@
|
|||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
}
|
}
|
||||||
.leaflet-tile {
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
.leaflet-tile-loaded {
|
|
||||||
visibility: inherit;
|
|
||||||
}
|
|
||||||
.leaflet-marker-icon,
|
.leaflet-marker-icon,
|
||||||
.leaflet-marker-shadow {
|
.leaflet-marker-shadow {
|
||||||
display: block;
|
display: block;
|
||||||
@ -56,6 +50,30 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.leaflet-tile {
|
||||||
|
opacity: 0;
|
||||||
|
|
||||||
|
-webkit-transition: opacity 0.2s linear;
|
||||||
|
-moz-transition: opacity 0.2s linear;
|
||||||
|
-o-transition: opacity 0.2s linear;
|
||||||
|
transition: opacity 0.2s linear;
|
||||||
|
}
|
||||||
|
.leaflet-tile-loaded {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.leaflet-popup {
|
||||||
|
-webkit-transition: opacity 0.2s linear;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.leaflet-map-pane .leaflet-popup {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Popup layout */
|
/* Popup layout */
|
||||||
|
|
||||||
.leaflet-popup {
|
.leaflet-popup {
|
||||||
|
10
dist/leaflet.ie.css
vendored
10
dist/leaflet.ie.css
vendored
@ -18,3 +18,13 @@
|
|||||||
width: 1px;
|
width: 1px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.leaflet-tile {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.leaflet-tile-loaded {
|
||||||
|
visibility: inherit;
|
||||||
|
}
|
||||||
|
.leaflet-popup {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user