From 859c8c62f4d87aef9a370f63f51c08fa82396672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Garc=C3=ADa?= Date: Mon, 17 Aug 2015 15:34:18 +0200 Subject: [PATCH] add changes --- examples/csv.html | 134 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 101 insertions(+), 33 deletions(-) diff --git a/examples/csv.html b/examples/csv.html index fb9ceea..2c847f2 100644 --- a/examples/csv.html +++ b/examples/csv.html @@ -10,17 +10,15 @@ margin: 0; } #control { - display:block; + display:inline-block; z-index: 10000; - position: absolute; - left: 10px; - bottom: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 4px rgba(0, 0, 0, .2); padding: 8px; - margin: 0; cursor: pointer; + float: left; + display: inline; } #control:hover { background: #f5f5f5; @@ -74,20 +72,13 @@
+ +
+
+ +
@@ -201,6 +268,7 @@ zoom: 6 }); + L.tileLayer('http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors, © CartoDB' }).addTo(map);