angular-leaflet-rails 0.1.0 → 0.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/angular-leaflet-rails/version.rb +1 -1
- data/vendor/assets/javascripts/angular-leaflet.js +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06b70b6fcd0d05403b3655ee5d37495145a7afbb
|
4
|
+
data.tar.gz: b49142f05f11414cdace61acfc1294635237a0b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59bc3bd6bc3437368af756638aed52df3a6f6077d6f8fca51efcfdd1687ce24853ab78f70a409a91b980bb9628b9ff63aefbeec5721bfd1fe1dbd0b590e63e3f
|
7
|
+
data.tar.gz: fff2df32759ed392c30da617088369e85196fb61fa2d231da60621f99ed5245cc74cddd04812e82af3aed7ab292aadcf7062eab99778990ba52047e128767bac
|
data/README.md
CHANGED
@@ -22,6 +22,11 @@ leafletDirective.directive("leaflet", ["$http", "$log", function ($http, $log) {
|
|
22
22
|
scope.map = map;
|
23
23
|
}
|
24
24
|
|
25
|
+
// Set maxZoom from attrs
|
26
|
+
if (attrs.maxzoom){
|
27
|
+
scope.maxZoom = parseInt(attrs.maxzoom)
|
28
|
+
}
|
29
|
+
|
25
30
|
// Set initial view
|
26
31
|
map.setView([0, 0], 1);
|
27
32
|
|