leaflet-js 0.7.0.1 → 0.7.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +14 -8
- data/leaflet-js.gemspec +4 -4
- data/vendor/assets/images/{leaflet-js/layers-2x.png → layers-2x.png} +0 -0
- data/vendor/assets/images/{leaflet-js/layers.png → layers.png} +0 -0
- data/vendor/assets/images/{leaflet-js/marker-icon-2x.png → marker-icon-2x.png} +0 -0
- data/vendor/assets/images/{leaflet-js/marker-icon.png → marker-icon.png} +0 -0
- data/vendor/assets/images/{leaflet-js/marker-shadow.png → marker-shadow.png} +0 -0
- data/vendor/assets/images/{leaflet-js/spritesheet-2x.png → spritesheet-2x.png} +0 -0
- data/vendor/assets/images/{leaflet-js/spritesheet.png → spritesheet.png} +0 -0
- data/vendor/assets/stylesheets/leaflet-js.css +0 -1
- data/vendor/assets/stylesheets/leaflet.draw.css.erb +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd8493b70d19234e4213b4175545ef73c697f77c
|
4
|
+
data.tar.gz: fdae1285531c819b03b818f5b079749645c556fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2206d685349233b5ab72cf9da1691bf02fe7896a737fc5d7ad61b2ca928c2591a5e40d591f47a224f5111441cba27d2110edf7499f1094d0f0eac975f5fc3cc
|
7
|
+
data.tar.gz: 5da3cd4aea0a90b6bc347937b9e0e334e2015dfead6afd37f1e61688577525e38bb9726c593f48c9318659e0f59edc53829953e13280f708bcb2587d2617efc6
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -36,14 +36,20 @@ leaflet.label.css
|
|
36
36
|
|
37
37
|
=== Images
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
39
|
+
layers.png
|
40
|
+
layers-2x.png
|
41
|
+
marker-icon.png
|
42
|
+
marker-icon-2x.png
|
43
|
+
market-shadow.png
|
44
|
+
market-shadow-2x.png
|
45
|
+
spritesheet.png
|
46
|
+
spritesheet-2x.png
|
47
|
+
|
48
|
+
Note when using Rails in production, with asset digests on, the Leaflet.Draw marker tool will not display
|
49
|
+
an icon. The issue is that images included in this gem will be have a digest added to their name. However,
|
50
|
+
the leaflet javascript code will be looking for images/marker-icon.png or images/marker-icon-2x.png.
|
51
|
+
The easiest solution to this issue is to copy the images to your public/images folder and not use
|
52
|
+
them via the asset pipeline.
|
47
53
|
|
48
54
|
== Support
|
49
55
|
|
data/leaflet-js.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = 'leaflet-js'
|
4
|
-
spec.version = '0.7.0.
|
4
|
+
spec.version = '0.7.0.2'
|
5
5
|
spec.homepage = 'https://github.com/cfis/leaflet-js'
|
6
6
|
spec.summary = <<-EOS
|
7
7
|
Wraps the Leaflet Javascript Mapping Library in a Rails asset gem. Also include Leaflet.Label
|
@@ -20,9 +20,9 @@ EOS
|
|
20
20
|
'lib/leaflet/**/*',
|
21
21
|
'lib/leaflet.draw/**/*',
|
22
22
|
'lib/leaflet.label/**/*',
|
23
|
-
'vendor/assets/javascripts
|
24
|
-
'vendor/assets/stylesheets
|
25
|
-
'vendor/assets/images
|
23
|
+
'vendor/assets/javascripts/*',
|
24
|
+
'vendor/assets/stylesheets/*',
|
25
|
+
'vendor/assets/images/*'])
|
26
26
|
spec.required_ruby_version = '>= 1.9.3'
|
27
27
|
spec.date = Time.now
|
28
28
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -23,12 +23,12 @@
|
|
23
23
|
}
|
24
24
|
|
25
25
|
.leaflet-draw-toolbar a {
|
26
|
-
background-image: url(<%= asset_path '
|
26
|
+
background-image: url(<%= asset_path 'spritesheet.png' %>);
|
27
27
|
background-repeat: no-repeat;
|
28
28
|
}
|
29
29
|
|
30
30
|
.leaflet-retina .leaflet-draw-toolbar a {
|
31
|
-
background-image: url(<%= asset_path '
|
31
|
+
background-image: url(<%= asset_path 'spritesheet-2x.png' %>);
|
32
32
|
background-size: 270px 30px;
|
33
33
|
}
|
34
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leaflet-js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0.
|
4
|
+
version: 0.7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -310,13 +310,13 @@ files:
|
|
310
310
|
- vendor/assets/stylesheets/leaflet.draw.css.erb
|
311
311
|
- vendor/assets/stylesheets/leaflet.draw.ie.css
|
312
312
|
- vendor/assets/stylesheets/leaflet.label.css
|
313
|
-
- vendor/assets/images/
|
314
|
-
- vendor/assets/images/
|
315
|
-
- vendor/assets/images/
|
316
|
-
- vendor/assets/images/
|
317
|
-
- vendor/assets/images/
|
318
|
-
- vendor/assets/images/
|
319
|
-
- vendor/assets/images/
|
313
|
+
- vendor/assets/images/layers-2x.png
|
314
|
+
- vendor/assets/images/layers.png
|
315
|
+
- vendor/assets/images/marker-icon-2x.png
|
316
|
+
- vendor/assets/images/marker-icon.png
|
317
|
+
- vendor/assets/images/marker-shadow.png
|
318
|
+
- vendor/assets/images/spritesheet-2x.png
|
319
|
+
- vendor/assets/images/spritesheet.png
|
320
320
|
homepage: https://github.com/cfis/leaflet-js
|
321
321
|
licenses: []
|
322
322
|
metadata: {}
|