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;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.leaflet-tile {
|
||||
visibility: hidden;
|
||||
}
|
||||
.leaflet-tile-loaded {
|
||||
visibility: inherit;
|
||||
}
|
||||
.leaflet-marker-icon,
|
||||
.leaflet-marker-shadow {
|
||||
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 */
|
||||
|
||||
.leaflet-popup {
|
||||
|
10
dist/leaflet.ie.css
vendored
10
dist/leaflet.ie.css
vendored
@ -17,4 +17,14 @@
|
||||
.leaflet-vml-shape {
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.leaflet-tile {
|
||||
visibility: hidden;
|
||||
}
|
||||
.leaflet-tile-loaded {
|
||||
visibility: inherit;
|
||||
}
|
||||
.leaflet-popup {
|
||||
opacity: 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user