geo_monitor 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/geo_monitor/layer.rb +1 -1
- data/lib/geo_monitor/bounding_box.rb +2 -2
- data/lib/geo_monitor/version.rb +1 -1
- 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: ab151f6a639c1f3b4359ace4fb8318fcdc66dac5
|
4
|
+
data.tar.gz: 48b9226547651a2676467158695986c044597863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2c4540c22beb12877d6d9ecafdbcc77bf000cc1e9263fa2a9fc3978df67470239dbd952680812ef34f76f231d1a38a9599be61bc36cf7e8e41660177747c564
|
7
|
+
data.tar.gz: 4d9ccfd4a1996e7d10f4d7cfb5dcbf349f4126658632a229a8d144e681b1d6635ff4022efb252617b0b3c25d7ec5a0b9e1b49540be76ff41989a59c61450799f
|
@@ -18,7 +18,7 @@ module GeoMonitor
|
|
18
18
|
|
19
19
|
def bounding_box
|
20
20
|
w, e, n, s = bbox.delete('ENVELOPE(').delete(')').delete(' ').split(',')
|
21
|
-
GeoMonitor::BoundingBox.new(north: n, south: s, east: e, west: w)
|
21
|
+
::GeoMonitor::BoundingBox.new(north: n, south: s, east: e, west: w)
|
22
22
|
end
|
23
23
|
|
24
24
|
def check
|
@@ -20,8 +20,8 @@ module GeoMonitor
|
|
20
20
|
def tile_bounds
|
21
21
|
tile = tile_number
|
22
22
|
zoom = zoom_level
|
23
|
-
sw = GeoMonitor::LatLngPoint.from_number(tile[:x], tile[:y], zoom).to_3857
|
24
|
-
ne = GeoMonitor::LatLngPoint.from_number(tile[:x] + 1, tile[:y] - 1, zoom).to_3857
|
23
|
+
sw = ::GeoMonitor::LatLngPoint.from_number(tile[:x], tile[:y], zoom).to_3857
|
24
|
+
ne = ::GeoMonitor::LatLngPoint.from_number(tile[:x] + 1, tile[:y] - 1, zoom).to_3857
|
25
25
|
self.class.new(
|
26
26
|
north: ne.lat,
|
27
27
|
east: ne.lng,
|
data/lib/geo_monitor/version.rb
CHANGED