Commit 1a83f5a12745edf0aef0f3607c8d052ca253b69f
1 parent
7f074f84
map datalet css bug fix
Showing
2 changed files
with
3 additions
and
5 deletions
datalets/leafletjs-datalet/leafletjs-datalet.html
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | |
3 | 3 | <dom-module name="leafletjs-datalet"> |
4 | 4 | <template> |
5 | - | |
5 | + <link rel="stylesheet" href="leafletsjs/leaflet.css" /> | |
6 | 6 | <style> |
7 | 7 | #leafletjs { height: 600px; } |
8 | 8 | </style> |
... | ... | @@ -12,7 +12,6 @@ |
12 | 12 | |
13 | 13 | </template> |
14 | 14 | |
15 | - <link rel="stylesheet" href="leafletsjs/leaflet.css" /> | |
16 | 15 | <script src="leafletsjs/leaflet.js"></script> |
17 | 16 | |
18 | 17 | <script> | ... | ... |
datalets/leafletjs-datalet/leafletsjs/leaflet.css
1 | 1 | /* required styles */ |
2 | 2 | |
3 | -.leaflet-map-pane, | |
3 | + .leaflet-map-pane, | |
4 | 4 | .leaflet-tile, |
5 | 5 | .leaflet-marker-icon, |
6 | 6 | .leaflet-marker-shadow, |
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | left: 0; |
19 | 19 | top: 0; |
20 | 20 | } |
21 | -.leaflet-container { | |
21 | + .leaflet-container { | |
22 | 22 | overflow: hidden; |
23 | 23 | -ms-touch-action: none; |
24 | 24 | } |
... | ... | @@ -57,7 +57,6 @@ |
57 | 57 | .leaflet-overlay-pane svg { |
58 | 58 | -moz-user-select: none; |
59 | 59 | } |
60 | - | |
61 | 60 | .leaflet-tile-pane { z-index: 2; } |
62 | 61 | .leaflet-objects-pane { z-index: 3; } |
63 | 62 | .leaflet-overlay-pane { z-index: 4; } | ... | ... |