c80_map_floors 0.2.0.5 → 0.2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '06953a0571d0c95b51454c17bf5b006c214e2bef'
|
4
|
+
data.tar.gz: 6be34b17a22baee02dbdd46776a15ab4c530aa49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c82b81e89b5bec5815bfe8bfec832ac2ef7cb84cdc11cbfe031220e73556d13a649df2c7360436cda8383228f57b37cc50c430e1f32a4d01e28c746640471900
|
7
|
+
data.tar.gz: 5e5845605bb3afaef071bc399f8aa7ee94b72650ac27914a41f43bd92437980d5dfc5a80c2acfbc32468e354bda0fc2523df5f557d8dd3c7a6a28b708952fa85
|
@@ -143,7 +143,8 @@ function Area() {
|
|
143
143
|
var scaleX = _map.calcScale(_bbox.xmin, _bbox.xmax, _map.X1S, _map.X2S);
|
144
144
|
var scaleY = _map.calcScale(_bbox.ymin, _bbox.ymax, _map.Y1S, _map.Y2S);
|
145
145
|
var scale = (scaleX < scaleY) ? scaleX : scaleY;
|
146
|
-
|
146
|
+
scale = _map.normalizeScale(scale);
|
147
|
+
|
147
148
|
//_map.scale = scale;
|
148
149
|
|
149
150
|
// совмещаем точку на экране, в которую надо центрировать дома, с центром дома с учётом рассчитанного масштаба
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: c80_map_floors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C80609A
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|