aqila-mapas 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/aqila/mapas/version.rb +1 -1
- data/lib/map/download_tiles_service.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6fce2f7cd80a0ad57fa45f9135295600e04bd639c4359e86c00b75afe05f522
|
4
|
+
data.tar.gz: e4030db8d53c17a6b32bd36742584596f9dbe9be48355d0e24fe493dc80ca1cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08591b8107f70c8e2f66700783c56b41fd90e771359b73f0b5dfbb52ac814ab1b56a85602bf7698f595ffb9d0ae43e3449e47d3b2891de964380ad9e43f8dc63'
|
7
|
+
data.tar.gz: 5220c696138f3dcf555eb414916684a709d48ed7d68bcd744c3430403e570551f2e68d3194c4c5677703251a3bedfd1ee2b4e9ffdb898a2a60e08ab4105500ab
|
data/Gemfile.lock
CHANGED
data/lib/aqila/mapas/version.rb
CHANGED
@@ -61,8 +61,10 @@ class Map::DownloadTilesService
|
|
61
61
|
FileUtils.mkdir_p(dir)
|
62
62
|
|
63
63
|
url = if @server
|
64
|
+
Rails.logger.info "Baixando tiles do server: #{@server}/#{zoom}/#{points.first}/#{points.second}"
|
64
65
|
"#{@server}/#{zoom}/#{points.first}/#{points.second}.png"
|
65
66
|
else
|
67
|
+
Rails.logger.info "Baixando tiles MapBox: #{MAP_BOX_SERVER}/#{zoom}/#{points.first}/#{points.second}/?access_token=#{MAP_BOX_TOKEN}"
|
66
68
|
"#{MAP_BOX_SERVER}/#{zoom}/#{points.first}/#{points.second}/?access_token=#{MAP_BOX_TOKEN}"
|
67
69
|
end
|
68
70
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aqila-mapas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lucasferronato
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|