diff options
author | hellekin <hellekin@cepheide.org> | 2018-03-09 14:40:04 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2018-03-09 14:40:04 +0100 |
commit | c19a1f93bfffa56882ae8a9f06bea144c857b08b (patch) | |
tree | dee20ff0c40522a23133dbf00d06659b827c60e5 /assets/css/MarkerCluster.css | |
download | wallonie-demain-proto-c19a1f93bfffa56882ae8a9f06bea144c857b08b.tar.gz |
First preview of the prototype for Wallonie#Demain
Diffstat (limited to 'assets/css/MarkerCluster.css')
-rw-r--r-- | assets/css/MarkerCluster.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/css/MarkerCluster.css b/assets/css/MarkerCluster.css new file mode 100644 index 0000000..c60d71b --- /dev/null +++ b/assets/css/MarkerCluster.css @@ -0,0 +1,14 @@ +.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow { + -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in; + -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in; + -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in; + transition: transform 0.3s ease-out, opacity 0.3s ease-in; +} + +.leaflet-cluster-spider-leg { + /* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */ + -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in; + -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in; + -o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in; + transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in; +} |