forked from Snck3rs/contao-leaflet-maps
Add loading indicator.
This commit is contained in:
23
assets/libs/leaflet-loading/Control.Loading.css
Normal file
23
assets/libs/leaflet-loading/Control.Loading.css
Normal file
@@ -0,0 +1,23 @@
|
||||
.leaflet-control-loading:empty {
|
||||
/* This is where your loading indicator would go */
|
||||
background-image: url('loading.gif');
|
||||
}
|
||||
|
||||
.leaflet-control-loading,
|
||||
.leaflet-control-zoom a.leaflet-control-loading ,
|
||||
.leaflet-control-zoomslider a.leaflet-control-loading {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.leaflet-control-loading.is-loading,
|
||||
.leaflet-control-zoom a.leaflet-control-loading.is-loading,
|
||||
.leaflet-control-zoomslider a.leaflet-control-loading.is-loading {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Necessary for display consistency in Leaflet >= 0.6 */
|
||||
.leaflet-bar-part-bottom {
|
||||
border-bottom: medium none;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
Reference in New Issue
Block a user