kmz_compressor 2.0.17 → 2.0.18
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94a88fda4fdd0168fccb7355e5ef45af1c25b658
|
4
|
+
data.tar.gz: 0092cf0ca88abd9a5c3f02ba2335c0c90537df65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5299c850090a59fd2aa457676070c1f004432b3b257e6e3925c61c3e884fe9e47399dab4aca200df4451d96c4563f5facf77edcea9ef9dcb608549881812035
|
7
|
+
data.tar.gz: b0bb7bbc009520c6e4e479b750c8ccecce1ce82a87af94495ad51ed36a969b1f64d9ac8cd03b556771d26efb92abe5e4a24b76906f93c2a0525efc21c96d889e
|
@@ -59,7 +59,7 @@ window.MapLayerManager = function(map){
|
|
59
59
|
|
60
60
|
var handler = function(){
|
61
61
|
// If we have no layer names
|
62
|
-
if (
|
62
|
+
if (layerNamez.length == 0){
|
63
63
|
layerNamez = layerNames()
|
64
64
|
}
|
65
65
|
|
@@ -141,6 +141,7 @@ window.MapLayerManager = function(map){
|
|
141
141
|
|
142
142
|
function centerOnLayers(layerNames, options){
|
143
143
|
var bounds;
|
144
|
+
options = options || {}
|
144
145
|
layerNames = makeArray(layerNames)
|
145
146
|
sweep() // Discard old layers before we generate the bounds
|
146
147
|
|
@@ -269,10 +270,12 @@ window.MapLayerManager = function(map){
|
|
269
270
|
}
|
270
271
|
|
271
272
|
function makeArray(value){
|
272
|
-
if (
|
273
|
-
return [
|
274
|
-
} else {
|
273
|
+
if (value === undefined){
|
274
|
+
return []
|
275
|
+
} else if ($.isArray(value)){
|
275
276
|
return value
|
277
|
+
} else {
|
278
|
+
return [value]
|
276
279
|
}
|
277
280
|
}
|
278
281
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kmz_compressor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Wallace
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-08-
|
12
|
+
date: 2014-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|