leaflet-rails 0.4.0.alpha5 → 0.4.0.alpha6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,13 +17,6 @@
|
|
17
17
|
.leaflet-container {
|
18
18
|
overflow: hidden;
|
19
19
|
}
|
20
|
-
.leaflet-tile-pane,
|
21
|
-
.leaflet-container,
|
22
|
-
.leaflet-corner,
|
23
|
-
.leaflet-popup {
|
24
|
-
/* TODO make this configurable */
|
25
|
-
-webkit-transform: translate3d(0,0,0);
|
26
|
-
}
|
27
20
|
.leaflet-tile,
|
28
21
|
.leaflet-marker-icon,
|
29
22
|
.leaflet-marker-shadow {
|
@@ -38,47 +31,37 @@
|
|
38
31
|
.leaflet-clickable {
|
39
32
|
cursor: pointer;
|
40
33
|
}
|
41
|
-
.leaflet-dragging {
|
42
|
-
cursor: move;
|
43
|
-
}
|
44
|
-
.leaflet-dragging .leaflet-clickable {
|
34
|
+
.leaflet-dragging, .leaflet-dragging .leaflet-clickable {
|
45
35
|
cursor: move;
|
46
36
|
}
|
47
37
|
.leaflet-container img {
|
38
|
+
/* map is broken in FF if you have max-width: 100% on tiles */
|
48
39
|
max-width: none !important;
|
49
40
|
}
|
50
|
-
.leaflet-
|
51
|
-
|
52
|
-
|
53
|
-
}
|
54
|
-
.leaflet-editing-icon {
|
55
|
-
border-radius: 2px;
|
56
|
-
}
|
41
|
+
.leaflet-container img.leaflet-image-layer {
|
42
|
+
/* stupid Android 2 doesn't understand "max-width: none" properly */
|
43
|
+
max-width: 15000px !important;
|
44
|
+
}
|
57
45
|
|
58
46
|
.leaflet-tile-pane { z-index: 2; }
|
59
|
-
|
60
47
|
.leaflet-objects-pane { z-index: 3; }
|
61
48
|
.leaflet-overlay-pane { z-index: 4; }
|
62
49
|
.leaflet-shadow-pane { z-index: 5; }
|
63
50
|
.leaflet-marker-pane { z-index: 6; }
|
64
51
|
.leaflet-popup-pane { z-index: 7; }
|
65
52
|
|
66
|
-
.leaflet-zoom-box {
|
67
|
-
width: 0;
|
68
|
-
height: 0;
|
69
|
-
}
|
70
|
-
|
71
53
|
.leaflet-tile {
|
72
|
-
|
54
|
+
filter: inherit;
|
55
|
+
visibility: hidden;
|
73
56
|
}
|
74
57
|
.leaflet-tile-loaded {
|
75
58
|
visibility: inherit;
|
76
59
|
}
|
77
60
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
61
|
+
.leaflet-zoom-box {
|
62
|
+
width: 0;
|
63
|
+
height: 0;
|
64
|
+
}
|
82
65
|
|
83
66
|
/* Leaflet controls */
|
84
67
|
|
@@ -209,7 +192,7 @@ a.leaflet-active {
|
|
209
192
|
background-color: rgba(255, 255, 255, 0.7);
|
210
193
|
box-shadow: 0 0 5px #bbb;
|
211
194
|
margin: 0;
|
212
|
-
}
|
195
|
+
}
|
213
196
|
|
214
197
|
.leaflet-control-attribution,
|
215
198
|
.leaflet-control-scale-line {
|
@@ -254,7 +237,7 @@ a.leaflet-active {
|
|
254
237
|
}
|
255
238
|
|
256
239
|
|
257
|
-
/*
|
240
|
+
/* Zoom and fade animations */
|
258
241
|
|
259
242
|
.leaflet-fade-anim .leaflet-tile, .leaflet-fade-anim .leaflet-popup {
|
260
243
|
opacity: 0;
|
@@ -268,14 +251,23 @@ a.leaflet-active {
|
|
268
251
|
opacity: 1;
|
269
252
|
}
|
270
253
|
|
271
|
-
.leaflet-zoom-anim .leaflet-
|
272
|
-
-webkit-transition:
|
273
|
-
-moz-transition:
|
274
|
-
-o-transition:
|
275
|
-
transition:
|
254
|
+
.leaflet-zoom-anim .leaflet-zoom-animated {
|
255
|
+
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
|
256
|
+
-moz-transition: -moz-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
|
257
|
+
-o-transition: -o-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
|
258
|
+
transition: transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
|
276
259
|
}
|
277
260
|
|
278
|
-
.leaflet-zoom-anim .leaflet-
|
261
|
+
.leaflet-zoom-anim .leaflet-tile,
|
262
|
+
.leaflet-pan-anim .leaflet-tile,
|
263
|
+
.leaflet-touching .leaflet-zoom-animated {
|
264
|
+
-webkit-transition: none;
|
265
|
+
-moz-transition: none;
|
266
|
+
-o-transition: none;
|
267
|
+
transition: none;
|
268
|
+
}
|
269
|
+
|
270
|
+
.leaflet-zoom-anim .leaflet-zoom-hide {
|
279
271
|
visibility: hidden;
|
280
272
|
}
|
281
273
|
|
@@ -341,17 +333,27 @@ a.leaflet-active {
|
|
341
333
|
.leaflet-container a {
|
342
334
|
color: #0078A8;
|
343
335
|
}
|
336
|
+
.leaflet-container a.leaflet-active {
|
337
|
+
outline: 2px solid orange;
|
338
|
+
}
|
344
339
|
.leaflet-zoom-box {
|
345
340
|
border: 2px dotted #05f;
|
346
341
|
background: white;
|
347
342
|
opacity: 0.5;
|
348
343
|
}
|
344
|
+
.leaflet-div-icon {
|
345
|
+
background: #fff;
|
346
|
+
border: 1px solid #666;
|
347
|
+
}
|
348
|
+
.leaflet-editing-icon {
|
349
|
+
border-radius: 2px;
|
350
|
+
}
|
349
351
|
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
|
350
352
|
background: white;
|
351
353
|
|
352
354
|
box-shadow: 0 3px 10px #888;
|
353
355
|
-moz-box-shadow: 0 3px 10px #888;
|
354
|
-
|
356
|
+
-webkit-box-shadow: 0 3px 14px #999;
|
355
357
|
}
|
356
358
|
.leaflet-popup-content-wrapper {
|
357
359
|
-moz-border-radius: 20px;
|
@@ -362,5 +364,5 @@ a.leaflet-active {
|
|
362
364
|
font: 12px/1.4 "Helvetica Neue", Arial, Helvetica, sans-serif;
|
363
365
|
}
|
364
366
|
.leaflet-popup-close-button {
|
365
|
-
background: white url(popup-close.png);
|
367
|
+
background: white url(<%= asset_path 'popup-close.png' %>);
|
366
368
|
}
|
@@ -1,17 +1,13 @@
|
|
1
|
-
.leaflet-tile {
|
2
|
-
filter: inherit;
|
3
|
-
}
|
4
|
-
|
5
1
|
.leaflet-vml-shape {
|
6
2
|
width: 1px;
|
7
3
|
height: 1px;
|
8
4
|
}
|
9
5
|
.lvml {
|
10
|
-
behavior: url(#default#VML);
|
11
|
-
display: inline-block;
|
6
|
+
behavior: url(#default#VML);
|
7
|
+
display: inline-block;
|
12
8
|
position: absolute;
|
13
9
|
}
|
14
|
-
|
10
|
+
|
15
11
|
.leaflet-control {
|
16
12
|
display: inline;
|
17
13
|
}
|
@@ -21,7 +17,7 @@
|
|
21
17
|
_width: 27px;
|
22
18
|
margin: 0 auto;
|
23
19
|
_margin-top: -3px;
|
24
|
-
|
20
|
+
|
25
21
|
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
26
22
|
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
27
23
|
}
|
@@ -45,4 +41,4 @@
|
|
45
41
|
}
|
46
42
|
.leaflet-control-attribution, .leaflet-control-layers {
|
47
43
|
background: white;
|
48
|
-
}
|
44
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leaflet-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0.
|
4
|
+
version: 0.4.0.alpha6
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: This gem provides the leaflet.js map display library for your Rails 3
|
15
15
|
application.
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: 1.3.1
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project: leaflet-rails
|
59
|
-
rubygems_version: 1.8.
|
59
|
+
rubygems_version: 1.8.23
|
60
60
|
signing_key:
|
61
61
|
specification_version: 3
|
62
62
|
summary: Use leaflet.js with Rails 3.
|