c80_map_floors 0.1.0.22 → 0.1.0.23

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: 7c19b3fe1da442d13d1f54bfb641b14b63b8573a
4
- data.tar.gz: 3c479c6827f66281d2590d47e77553623dbe04ea
3
+ metadata.gz: 97104ee323ae38e43a71acf2da183a8a0f367c74
4
+ data.tar.gz: 40efbd7f707c3dc7b0e21889b458370963f2096a
5
5
  SHA512:
6
- metadata.gz: 4529e548eb9038680402dddf8b8d9a796c70879929acda5224a3dd78a150a00047678cce8a5bd26984b45dd184a133fe3500d342322623a9198e8783cc3d6d56
7
- data.tar.gz: b5d3df1cec7ff3fd3853a524b2970b44ced96bcd528369f1fa06afe2a1b3188f81b3151a159683fa5de8b021db317049af8d05dccf1f6b01ee90b39e946bbedf
6
+ metadata.gz: d8c52788fcae7da9598755f28b5467f80b0d52ccaa77e50b8f0352be3b1e4481c942a0bc72d5c02c0077dedd1021ea8066a2987a8d40d69a44f16f049e6f28e3
7
+ data.tar.gz: d7b760f5dd25f50ff3be8ab774191ac37ce798c15f5d7dba4ab95fbf847de05cc1fd8ace1477de87de72b6f3d37177e0ffb5404d897bf10e4aa817261f5ddb32
@@ -63,7 +63,7 @@ function BackToMapButton() {
63
63
  };
64
64
  var __show = function () {
65
65
  // фиксируем
66
- var building_info_top = _$building_info.offset().top;
66
+ var building_info_top = _$building_info.offset().top - _map.container.offset().top;
67
67
  var building_info_height = _$building_info.height();
68
68
 
69
69
  // считаем
@@ -151,12 +151,12 @@ function Area() {
151
151
  //_map.y = _map.normalizeY(_map.CY - _map.scale * _cy - _map.container.offset().top);
152
152
 
153
153
  var x = _map.normalizeX({
154
- x: _map.CX - scale * _cx - _map.container.offset().left,
154
+ x: _map.CX - scale * _cx,// - _map.container.offset().left,
155
155
  scale: scale
156
156
  });
157
157
 
158
158
  var y = _map.normalizeY({
159
- y: _map.CY - scale * _cy - _map.container.offset().top,
159
+ y: _map.CY - scale * _cy,// - _map.container.offset().top,
160
160
  scale: scale
161
161
  });
162
162
 
@@ -32,6 +32,7 @@ function Building() {
32
32
  _this._admin_label = null; // админский лейбл - айдишник и название Здания (привязанного к полигону), видимый в режиме редактирования
33
33
 
34
34
  var _zoomToMe = function () {
35
+ console.log('<_zoomToMe>');
35
36
 
36
37
  /* рассчитаем масштаб, при котором можно вписать прямоугольник дома в прямоугольник рабочей области */
37
38
 
@@ -43,12 +44,12 @@ function Building() {
43
44
  scale = _map.normalizeScale(scale);
44
45
 
45
46
  var x = _map.normalizeX({
46
- x: _map.CX - scale * _cx - _map.container.offset().left,
47
+ x: _map.CX - scale * _cx, // + _map.container.offset().left,
47
48
  scale: scale
48
49
  });
49
50
 
50
51
  var y = _map.normalizeY({
51
- y: _map.CY - scale * _cy - _map.container.offset().top,
52
+ y: _map.CY - scale * _cy, // - _map.container.offset().top,
52
53
  scale: scale
53
54
  });
54
55
 
@@ -290,8 +291,8 @@ function Building() {
290
291
 
291
292
 
292
293
  };
293
-
294
294
  _this.exit = function () {
295
+
295
296
  if (_$image_bg != null) _$image_bg.remove();
296
297
  if (_image_overlay != null) {
297
298
  _image_overlay.remove();
@@ -24,6 +24,10 @@
24
24
  background-color: #54658E;
25
25
  }
26
26
 
27
+ > h3 {
28
+ color: #ffffff !important;
29
+ }
30
+
27
31
  h5 {
28
32
  border-top: 1px solid #14233C;
29
33
  color: #1f283e;
@@ -1,3 +1,3 @@
1
1
  module C80MapFloors
2
- VERSION = '0.1.0.22'
2
+ VERSION = '0.1.0.23'
3
3
  end
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.1.0.22
4
+ version: 0.1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - C80609A
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2017-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler