igniteui-angular-maps 18.2.0-beta.0 → 18.2.0-beta.2
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.
- package/bundles/igniteui-angular-maps.umd.js +1266 -1266
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js +35 -35
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +71 -71
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +165 -165
- package/esm2015/lib/GeographicMarkerSeries.js +26 -26
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js +15 -15
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +87 -87
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +58 -58
- package/esm2015/lib/GeographicShapeSeriesView_combined.js +50 -50
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +54 -54
- package/esm2015/lib/GeographicTileSeries.js +27 -27
- package/esm2015/lib/TileSeries_combined.js +80 -80
- package/esm2015/lib/XamGeographicMap_combined.js +376 -376
- package/esm2015/lib/igx-geographic-contour-line-series-component.js +8 -8
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js +22 -22
- package/esm2015/lib/igx-geographic-map-component.js +37 -37
- package/esm2015/lib/igx-geographic-map-series-host-component.js +11 -11
- package/esm2015/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm2015/lib/igx-geographic-polyline-series-component.js +10 -10
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +32 -32
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js +7 -7
- package/esm2015/lib/igx-geographic-shape-series-base-component.js +22 -22
- package/esm2015/lib/igx-geographic-shape-series-component.js +32 -32
- package/esm2015/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm2015/lib/igx-geographic-tile-series-component.js +3 -3
- package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm2015/lib/igx-tile-series-component.js +2 -2
- package/esm5/lib/GeographicContourLineSeriesView_combined.js +35 -35
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +71 -71
- package/esm5/lib/GeographicMapSeriesHost_combined.js +163 -163
- package/esm5/lib/GeographicMarkerSeries.js +26 -26
- package/esm5/lib/GeographicPolylineSeriesView_combined.js +15 -15
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +87 -87
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +57 -57
- package/esm5/lib/GeographicShapeSeriesView_combined.js +50 -50
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +54 -54
- package/esm5/lib/GeographicTileSeries.js +26 -26
- package/esm5/lib/TileSeries_combined.js +78 -78
- package/esm5/lib/XamGeographicMap_combined.js +370 -370
- package/esm5/lib/igx-geographic-contour-line-series-component.js +8 -8
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js +22 -22
- package/esm5/lib/igx-geographic-map-component.js +37 -37
- package/esm5/lib/igx-geographic-map-series-host-component.js +11 -11
- package/esm5/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm5/lib/igx-geographic-polyline-series-component.js +10 -10
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +32 -32
- package/esm5/lib/igx-geographic-scatter-area-series-component.js +7 -7
- package/esm5/lib/igx-geographic-shape-series-base-component.js +22 -22
- package/esm5/lib/igx-geographic-shape-series-component.js +32 -32
- package/esm5/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm5/lib/igx-geographic-tile-series-component.js +3 -3
- package/esm5/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm5/lib/igx-tile-series-component.js +2 -2
- package/fesm2015/igniteui-angular-maps.js +1278 -1278
- package/fesm5/igniteui-angular-maps.js +1266 -1266
- package/lib/GeographicContourLineSeriesView_combined.d.ts +13 -13
- package/lib/GeographicHighDensityScatterSeriesView_combined.d.ts +19 -19
- package/lib/GeographicMapSeriesHost_combined.d.ts +28 -28
- package/lib/GeographicMarkerSeries.d.ts +14 -14
- package/lib/GeographicMarkerSeriesBase.d.ts +1 -1
- package/lib/GeographicPolylineSeriesView_combined.d.ts +7 -7
- package/lib/GeographicProportionalSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicProportionalSymbolSeriesView_combined.d.ts +23 -23
- package/lib/GeographicShapeSeriesBaseBase.d.ts +1 -1
- package/lib/GeographicShapeSeriesBase_combined.d.ts +20 -20
- package/lib/GeographicShapeSeriesView_combined.d.ts +23 -23
- package/lib/GeographicSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicSymbolSeriesView_combined.d.ts +16 -16
- package/lib/GeographicTileSeries.d.ts +9 -9
- package/lib/GeographicXYTriangulatingSeriesBase.d.ts +1 -1
- package/lib/TileSeries_combined.d.ts +19 -19
- package/lib/XamGeographicMap_combined.d.ts +81 -81
- package/package.json +2 -2
|
@@ -43,22 +43,22 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
43
43
|
class XamGeographicMap extends SeriesViewer {
|
|
44
44
|
constructor() {
|
|
45
45
|
super();
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
46
|
+
this.xh = null;
|
|
47
|
+
this.w6 = false;
|
|
48
|
+
this.wy = 1;
|
|
49
|
+
this.xd = 0;
|
|
50
|
+
this.yo = null;
|
|
51
|
+
this.wv = null;
|
|
52
|
+
this.wr = null;
|
|
53
|
+
this.wt = null;
|
|
54
|
+
this.wx = null;
|
|
55
|
+
this.yk = { $type: Point_$type, x: NaN, y: NaN };
|
|
56
|
+
this.yr = null;
|
|
57
|
+
this.xc = 1;
|
|
58
58
|
this.imageTilesReady = null;
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
59
|
+
this.w5 = null;
|
|
60
|
+
this.yq = Rect.empty;
|
|
61
|
+
this.xd = SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.top);
|
|
62
62
|
this.ab = XamGeographicMap.$;
|
|
63
63
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
64
64
|
let a = ((() => {
|
|
@@ -67,70 +67,70 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
67
67
|
return $ret;
|
|
68
68
|
})());
|
|
69
69
|
a.cf = true;
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
70
|
+
this.ws = a;
|
|
71
|
+
this.ws.n4 = new SphericalMercatorHorizontalScaler();
|
|
72
72
|
let b = ((() => {
|
|
73
73
|
let $ret = new NumericYAxis();
|
|
74
74
|
$ret.bi = this;
|
|
75
75
|
return $ret;
|
|
76
76
|
})());
|
|
77
77
|
b.cf = true;
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
78
|
+
this.wu = b;
|
|
79
|
+
this.wu.n4 = new SphericalMercatorVerticalScaler();
|
|
80
|
+
this.xz();
|
|
81
|
+
this.x6();
|
|
82
82
|
this.n0();
|
|
83
83
|
}
|
|
84
84
|
provideContainer(a) {
|
|
85
85
|
super.provideContainer(a);
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
86
|
+
this.ws.provideRenderer(a);
|
|
87
|
+
this.wu.provideRenderer(a);
|
|
88
88
|
}
|
|
89
89
|
n0() {
|
|
90
90
|
super.n0();
|
|
91
|
-
this.
|
|
91
|
+
this.w4.fv(this.hi);
|
|
92
92
|
}
|
|
93
93
|
fl() {
|
|
94
|
-
return this.
|
|
94
|
+
return this.xa;
|
|
95
95
|
}
|
|
96
96
|
fm() {
|
|
97
|
-
return this.
|
|
97
|
+
return this.xa;
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
if (this.
|
|
101
|
-
if (this.
|
|
99
|
+
w1() {
|
|
100
|
+
if (this.wz == 0) {
|
|
101
|
+
if (this.w6) {
|
|
102
102
|
return 2;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
return 1;
|
|
106
106
|
}
|
|
107
|
-
get
|
|
108
|
-
return this.
|
|
107
|
+
get w0() {
|
|
108
|
+
return this.wy;
|
|
109
109
|
}
|
|
110
|
-
set
|
|
111
|
-
this.
|
|
110
|
+
set w0(a) {
|
|
111
|
+
this.wy = a;
|
|
112
112
|
}
|
|
113
|
-
get
|
|
114
|
-
return this.
|
|
113
|
+
get yt() {
|
|
114
|
+
return this.yo;
|
|
115
115
|
}
|
|
116
|
-
set
|
|
117
|
-
let b = Rect.l_op_Inequality(this.
|
|
116
|
+
set yt(a) {
|
|
117
|
+
let b = Rect.l_op_Inequality(this.yo, a);
|
|
118
118
|
if (b) {
|
|
119
|
-
let c = this.
|
|
120
|
-
this.
|
|
119
|
+
let c = this.yo;
|
|
120
|
+
this.yo = a;
|
|
121
121
|
this.qm("ActualWorldRect", c, a);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
return this.
|
|
124
|
+
yx() {
|
|
125
|
+
return this.yt;
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
if (this.
|
|
127
|
+
xz() {
|
|
128
|
+
if (this.y5.isEmpty) {
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
|
-
this.
|
|
131
|
+
this.yt = this.y3(this.y5, this.cr == 1);
|
|
132
132
|
}
|
|
133
|
-
|
|
133
|
+
y3(a, b) {
|
|
134
134
|
let c = a.top;
|
|
135
135
|
let d = a.left;
|
|
136
136
|
let e = a.width;
|
|
@@ -138,25 +138,25 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
138
138
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
139
139
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
140
140
|
let i = g - h;
|
|
141
|
-
let j = a.width / XamGeographicMap.
|
|
142
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
141
|
+
let j = a.width / XamGeographicMap.yp.width;
|
|
142
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.top);
|
|
143
143
|
let l = i / j;
|
|
144
|
-
if (i / j > this.
|
|
145
|
-
let m = i / this.
|
|
144
|
+
if (i / j > this.xd) {
|
|
145
|
+
let m = i / this.xd;
|
|
146
146
|
let n = m - j;
|
|
147
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
148
|
-
e = m * XamGeographicMap.
|
|
147
|
+
d = d - (n / 2) * XamGeographicMap.yp.width;
|
|
148
|
+
e = m * XamGeographicMap.yp.width;
|
|
149
149
|
if (b) {
|
|
150
|
-
if (d < XamGeographicMap.
|
|
151
|
-
d += (XamGeographicMap.
|
|
150
|
+
if (d < XamGeographicMap.yp.left) {
|
|
151
|
+
d += (XamGeographicMap.yp.left - d);
|
|
152
152
|
}
|
|
153
|
-
else if ((d + e) > XamGeographicMap.
|
|
154
|
-
d -= ((d + e) - XamGeographicMap.
|
|
153
|
+
else if ((d + e) > XamGeographicMap.yp.right) {
|
|
154
|
+
d -= ((d + e) - XamGeographicMap.yp.right);
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
else if (i / j < this.
|
|
159
|
-
let o = this.
|
|
158
|
+
else if (i / j < this.xd) {
|
|
159
|
+
let o = this.xd * j;
|
|
160
160
|
let p = o - i;
|
|
161
161
|
let q = h - (p / 2);
|
|
162
162
|
let r = g + (p / 2);
|
|
@@ -165,9 +165,9 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
165
165
|
q += (k - q);
|
|
166
166
|
r += (k - q);
|
|
167
167
|
}
|
|
168
|
-
else if (r > (k + this.
|
|
169
|
-
q -= ((r) - (k + this.
|
|
170
|
-
r -= ((r) - (k + this.
|
|
168
|
+
else if (r > (k + this.xd)) {
|
|
169
|
+
q -= ((r) - (k + this.xd));
|
|
170
|
+
r -= ((r) - (k + this.xd));
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -177,76 +177,76 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
177
177
|
return s;
|
|
178
178
|
}
|
|
179
179
|
get backgroundContent() {
|
|
180
|
-
return this.
|
|
180
|
+
return this.wv;
|
|
181
181
|
}
|
|
182
182
|
set backgroundContent(a) {
|
|
183
183
|
let b = a != this.backgroundContent;
|
|
184
184
|
if (b) {
|
|
185
185
|
let c = this.backgroundContent;
|
|
186
|
-
this.
|
|
186
|
+
this.wv = a;
|
|
187
187
|
this.qm("BackgroundContent", c, a);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
get
|
|
191
|
-
return this.
|
|
190
|
+
get ws() {
|
|
191
|
+
return this.wr;
|
|
192
192
|
}
|
|
193
|
-
set
|
|
194
|
-
let b = a != this.
|
|
193
|
+
set ws(a) {
|
|
194
|
+
let b = a != this.ws;
|
|
195
195
|
if (b) {
|
|
196
|
-
let c = this.
|
|
197
|
-
this.
|
|
196
|
+
let c = this.ws;
|
|
197
|
+
this.wr = a;
|
|
198
198
|
this.qm("XAxis", c, a);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
get
|
|
202
|
-
return this.
|
|
201
|
+
get wu() {
|
|
202
|
+
return this.wt;
|
|
203
203
|
}
|
|
204
|
-
set
|
|
205
|
-
let b = a != this.
|
|
204
|
+
set wu(a) {
|
|
205
|
+
let b = a != this.wu;
|
|
206
206
|
if (b) {
|
|
207
|
-
let c = this.
|
|
208
|
-
this.
|
|
207
|
+
let c = this.wu;
|
|
208
|
+
this.wt = a;
|
|
209
209
|
this.qm("YAxis", c, a);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
getZoomRectFromGeoRect(a) {
|
|
213
213
|
return this.getZoomFromGeographicRect(a);
|
|
214
214
|
}
|
|
215
|
-
|
|
216
|
-
this.
|
|
215
|
+
x9(a) {
|
|
216
|
+
this.wl = a;
|
|
217
217
|
}
|
|
218
|
-
|
|
219
|
-
this.
|
|
218
|
+
x8(a) {
|
|
219
|
+
this.y5 = a;
|
|
220
220
|
}
|
|
221
221
|
getZoomFromGeographicRect(a) {
|
|
222
|
-
return this.
|
|
222
|
+
return this.yv(a, true, 0);
|
|
223
223
|
}
|
|
224
|
-
|
|
225
|
-
return this.
|
|
224
|
+
yu(a, b) {
|
|
225
|
+
return this.yv(a, false, b);
|
|
226
226
|
}
|
|
227
|
-
|
|
227
|
+
yv(a, b, c) {
|
|
228
228
|
let d = a;
|
|
229
229
|
if (b) {
|
|
230
|
-
d = this.
|
|
230
|
+
d = this.y3(a, false);
|
|
231
231
|
}
|
|
232
|
-
let e = this.
|
|
233
|
-
let f = this.
|
|
234
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
232
|
+
let e = this.ws;
|
|
233
|
+
let f = this.wu;
|
|
234
|
+
let g = new ScalerParams(1, XamGeographicMap.ys, this.wk, e.ch);
|
|
235
235
|
g.c = this.v8;
|
|
236
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
236
|
+
let h = new ScalerParams(1, XamGeographicMap.ys, this.wk, f.ch);
|
|
237
237
|
h.c = this.v8;
|
|
238
|
-
let i = this.
|
|
239
|
-
let j = this.
|
|
240
|
-
let k = this.
|
|
241
|
-
let l = this.
|
|
242
|
-
let m = (i - c) / this.
|
|
243
|
-
let n = (l - c) / this.
|
|
244
|
-
let o = (j - i + (c * 2)) / this.
|
|
245
|
-
let p = (k - l + (c * 2)) / this.
|
|
238
|
+
let i = this.ws.el(d.left, g);
|
|
239
|
+
let j = this.ws.el(d.right, g);
|
|
240
|
+
let k = this.wu.el(d.top, h);
|
|
241
|
+
let l = this.wu.el(d.bottom, h);
|
|
242
|
+
let m = (i - c) / this.wk.width;
|
|
243
|
+
let n = (l - c) / this.wk.height;
|
|
244
|
+
let o = (j - i + (c * 2)) / this.wk.width;
|
|
245
|
+
let p = (k - l + (c * 2)) / this.wk.height;
|
|
246
246
|
let q = new Rect(0, m, n, o, p);
|
|
247
|
-
q.intersect(XamGeographicMap.
|
|
247
|
+
q.intersect(XamGeographicMap.ys);
|
|
248
248
|
if (q.isEmpty) {
|
|
249
|
-
q = XamGeographicMap.
|
|
249
|
+
q = XamGeographicMap.ys;
|
|
250
250
|
}
|
|
251
251
|
return q;
|
|
252
252
|
}
|
|
@@ -256,19 +256,19 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
256
256
|
let e = b.x - a.x;
|
|
257
257
|
let f = a.y - b.y;
|
|
258
258
|
if (e < 0 || f < 0) {
|
|
259
|
-
return XamGeographicMap.
|
|
259
|
+
return XamGeographicMap.ys;
|
|
260
260
|
}
|
|
261
261
|
else {
|
|
262
262
|
let g = new Rect(0, c, d, e, f);
|
|
263
263
|
return this.getZoomFromGeographicRect(g);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
|
|
267
|
-
let b = this.
|
|
268
|
-
let c = this.
|
|
269
|
-
let d = new ScalerParams(1, a, this.
|
|
266
|
+
yz(a) {
|
|
267
|
+
let b = this.ws;
|
|
268
|
+
let c = this.wu;
|
|
269
|
+
let d = new ScalerParams(1, a, this.wk, b.ch);
|
|
270
270
|
d.c = this.v8;
|
|
271
|
-
let e = new ScalerParams(1, a, this.
|
|
271
|
+
let e = new ScalerParams(1, a, this.wk, c.ch);
|
|
272
272
|
e.c = this.v8;
|
|
273
273
|
let f = this.v7;
|
|
274
274
|
let g = b.eo(f.left, d);
|
|
@@ -279,108 +279,108 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
279
279
|
let l = h - j;
|
|
280
280
|
let m = new Rect(0, g, j, k, l);
|
|
281
281
|
if (this.cr == 1) {
|
|
282
|
-
m.intersect(XamGeographicMap.
|
|
282
|
+
m.intersect(XamGeographicMap.yp);
|
|
283
283
|
if (m.isEmpty) {
|
|
284
|
-
m = XamGeographicMap.
|
|
284
|
+
m = XamGeographicMap.yp;
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
return m;
|
|
288
288
|
}
|
|
289
|
-
yk(a) {
|
|
290
|
-
let b = this.wr.mf(a.x);
|
|
291
|
-
let c = this.wt.mf(a.y);
|
|
292
|
-
return { $type: Point_$type, x: b, y: c };
|
|
293
|
-
}
|
|
294
289
|
yl(a) {
|
|
295
|
-
let b = this.
|
|
296
|
-
let c = this.
|
|
290
|
+
let b = this.ws.mf(a.x);
|
|
291
|
+
let c = this.wu.mf(a.y);
|
|
297
292
|
return { $type: Point_$type, x: b, y: c };
|
|
298
293
|
}
|
|
299
294
|
ym(a) {
|
|
300
|
-
|
|
295
|
+
let b = this.ws.e6(a.x);
|
|
296
|
+
let c = this.wu.e6(a.y);
|
|
297
|
+
return { $type: Point_$type, x: b, y: c };
|
|
301
298
|
}
|
|
302
|
-
|
|
299
|
+
yn(a) {
|
|
300
|
+
return this.ym(a);
|
|
301
|
+
}
|
|
302
|
+
xw() {
|
|
303
303
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
304
304
|
if (a != null) {
|
|
305
305
|
a.clearTileCache();
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
|
|
308
|
+
x2(a) {
|
|
309
309
|
}
|
|
310
310
|
gg() {
|
|
311
311
|
return true;
|
|
312
312
|
}
|
|
313
|
-
|
|
314
|
-
this.
|
|
313
|
+
x4() {
|
|
314
|
+
this.w4.ee();
|
|
315
315
|
for (let a of fromEnum(this.series)) {
|
|
316
|
-
a.
|
|
316
|
+
a.sc();
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
if (this.
|
|
321
|
-
if (!this.
|
|
322
|
-
let a = this.
|
|
323
|
-
let b = this.
|
|
324
|
-
this.
|
|
319
|
+
x7() {
|
|
320
|
+
if (this.w3 == 2) {
|
|
321
|
+
if (!this.wk.isEmpty && this.wk.width > 0 && this.wk.height > 0) {
|
|
322
|
+
let a = this.ws.mf(this.wk.left + (this.wk.width / 2));
|
|
323
|
+
let b = this.wu.mf(this.wk.top + (this.wk.height / 2));
|
|
324
|
+
this.yk = { $type: Point_$type, x: a, y: b };
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
else {
|
|
328
|
-
if (!this.
|
|
329
|
-
let c = this.
|
|
330
|
-
let d = this.
|
|
331
|
-
this.
|
|
328
|
+
if (!this.wk.isEmpty && this.wk.width > 0 && this.wk.height > 0) {
|
|
329
|
+
let c = this.ws.mf(this.wk.left);
|
|
330
|
+
let d = this.wu.mf(this.wk.top);
|
|
331
|
+
this.yk = { $type: Point_$type, x: c, y: d };
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
|
|
336
|
-
if (isNaN_(this.
|
|
337
|
-
this.
|
|
335
|
+
x3() {
|
|
336
|
+
if (isNaN_(this.yk.x) || isNaN_(this.yk.y)) {
|
|
337
|
+
this.x7();
|
|
338
338
|
}
|
|
339
|
-
let a = this.
|
|
340
|
-
let b = this.
|
|
339
|
+
let a = this.yk.x;
|
|
340
|
+
let b = this.yk.y;
|
|
341
341
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
342
342
|
let c = this.v4.left;
|
|
343
343
|
let d = this.v4.top;
|
|
344
344
|
let e = this.v4.width;
|
|
345
345
|
let f = this.v4.height;
|
|
346
|
-
if (e > this.
|
|
346
|
+
if (e > this.yr.width) {
|
|
347
347
|
}
|
|
348
348
|
else {
|
|
349
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
349
|
+
let g = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.ws.ch);
|
|
350
350
|
g.c = this.v8;
|
|
351
|
-
let h = this.
|
|
352
|
-
if (this.
|
|
353
|
-
let i = h / this.
|
|
351
|
+
let h = this.ws.el(a, g);
|
|
352
|
+
if (this.w3 == 2) {
|
|
353
|
+
let i = h / this.wk.width;
|
|
354
354
|
c = i - (e / 2);
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
|
-
c = h / this.
|
|
357
|
+
c = h / this.wk.width;
|
|
358
358
|
}
|
|
359
|
-
if (c + e > this.
|
|
360
|
-
c = this.
|
|
359
|
+
if (c + e > this.yr.right) {
|
|
360
|
+
c = this.yr.right - e;
|
|
361
361
|
}
|
|
362
|
-
else if (c < this.
|
|
363
|
-
c = this.
|
|
362
|
+
else if (c < this.yr.left) {
|
|
363
|
+
c = this.yr.left;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
if (f > this.
|
|
366
|
+
if (f > this.yr.height) {
|
|
367
367
|
}
|
|
368
368
|
else {
|
|
369
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
369
|
+
let j = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.wu.ch);
|
|
370
370
|
j.c = this.v8;
|
|
371
|
-
let k = this.
|
|
372
|
-
if (this.
|
|
373
|
-
let l = k / this.
|
|
371
|
+
let k = this.wu.el(b, j);
|
|
372
|
+
if (this.w3 == 2) {
|
|
373
|
+
let l = k / this.wk.height;
|
|
374
374
|
d = l - (f / 2);
|
|
375
375
|
}
|
|
376
376
|
else {
|
|
377
|
-
d = k / this.
|
|
377
|
+
d = k / this.wk.height;
|
|
378
378
|
}
|
|
379
|
-
if (d + f > this.
|
|
380
|
-
d = this.
|
|
379
|
+
if (d + f > this.yr.bottom) {
|
|
380
|
+
d = this.yr.bottom - f;
|
|
381
381
|
}
|
|
382
|
-
else if (d < this.
|
|
383
|
-
d = this.
|
|
382
|
+
else if (d < this.yr.top) {
|
|
383
|
+
d = this.yr.top;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
this.rx(new Rect(0, c, d, e, f), false);
|
|
@@ -391,53 +391,53 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
391
391
|
}
|
|
392
392
|
v5() {
|
|
393
393
|
let a = super.v5();
|
|
394
|
-
if (this.
|
|
394
|
+
if (this.ws == null || this.wu == null) {
|
|
395
395
|
return a;
|
|
396
396
|
}
|
|
397
397
|
this.wf();
|
|
398
398
|
let b = a.left;
|
|
399
399
|
let c = a.top;
|
|
400
400
|
if (this.cr == 1) {
|
|
401
|
-
if (this.
|
|
402
|
-
b = 0.5 - (this.
|
|
401
|
+
if (this.wl.width > this.yr.width) {
|
|
402
|
+
b = 0.5 - (this.wl.width / 2);
|
|
403
403
|
}
|
|
404
|
-
else if (b + a.width > this.
|
|
405
|
-
b = this.
|
|
404
|
+
else if (b + a.width > this.yr.right) {
|
|
405
|
+
b = this.yr.right - this.wl.width;
|
|
406
406
|
}
|
|
407
|
-
else if (b < this.
|
|
408
|
-
b = this.
|
|
407
|
+
else if (b < this.yr.left) {
|
|
408
|
+
b = this.yr.left;
|
|
409
409
|
}
|
|
410
|
-
if (this.
|
|
411
|
-
c = 0.5 - (this.
|
|
410
|
+
if (this.wl.height > this.yr.height) {
|
|
411
|
+
c = 0.5 - (this.wl.height / 2);
|
|
412
412
|
}
|
|
413
|
-
else if (c + this.
|
|
414
|
-
c = this.
|
|
413
|
+
else if (c + this.wl.height > this.yr.bottom) {
|
|
414
|
+
c = this.yr.bottom - this.wl.height;
|
|
415
415
|
}
|
|
416
|
-
else if (c < this.
|
|
417
|
-
c = this.
|
|
416
|
+
else if (c < this.yr.top) {
|
|
417
|
+
c = this.yr.top;
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
let d = false;
|
|
421
|
-
if (!this.
|
|
421
|
+
if (!this.w9 && this.cr == 2 && this.w6) {
|
|
422
422
|
if (b > 1) {
|
|
423
423
|
b = (b - Math.floor(b)) + 1;
|
|
424
424
|
}
|
|
425
425
|
if (b < 0) {
|
|
426
426
|
b = 0 - (Math.ceil(b) - b);
|
|
427
427
|
}
|
|
428
|
-
if ((a.right - this.
|
|
429
|
-
b = this.
|
|
428
|
+
if ((a.right - this.yr.right) > 0 && ((a.right - this.yr.right) / a.width) > 0.8) {
|
|
429
|
+
b = this.yr.left - (a.width - (a.right - this.yr.right));
|
|
430
430
|
d = true;
|
|
431
431
|
}
|
|
432
|
-
else if (a.left < this.
|
|
433
|
-
b = this.
|
|
432
|
+
else if (a.left < this.yr.left && (Math.abs(a.left - this.yr.left) / a.width) > 0.8) {
|
|
433
|
+
b = this.yr.right - (Math.abs(a.left - this.yr.left));
|
|
434
434
|
d = true;
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
438
|
-
if (this.
|
|
439
|
-
let f = this.
|
|
440
|
-
f = this.
|
|
438
|
+
if (this.w9) {
|
|
439
|
+
let f = this.yu(this.y5, 1);
|
|
440
|
+
f = this.yw(f);
|
|
441
441
|
let g = e.left + e.width / 2;
|
|
442
442
|
let h = e.top + e.height / 2;
|
|
443
443
|
if (e.width > f.width) {
|
|
@@ -473,7 +473,7 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
473
473
|
}
|
|
474
474
|
if (d) {
|
|
475
475
|
this.ez = true;
|
|
476
|
-
this.
|
|
476
|
+
this.wl = e;
|
|
477
477
|
this.ez = false;
|
|
478
478
|
}
|
|
479
479
|
return e;
|
|
@@ -499,31 +499,31 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
499
499
|
}
|
|
500
500
|
if (c) {
|
|
501
501
|
if (d) {
|
|
502
|
-
let i = this.
|
|
503
|
-
let j = this.
|
|
502
|
+
let i = this.wr.el(-180, b);
|
|
503
|
+
let j = this.wr.el(180, b);
|
|
504
504
|
e = j - i;
|
|
505
505
|
}
|
|
506
506
|
else {
|
|
507
|
-
let k = this.
|
|
508
|
-
let l = this.
|
|
507
|
+
let k = this.wr.el(-180, b);
|
|
508
|
+
let l = this.wr.el(180, b);
|
|
509
509
|
e = k - l;
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
513
513
|
}
|
|
514
514
|
wf() {
|
|
515
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
515
|
+
let a = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.ws.ch);
|
|
516
516
|
a.c = this.v8;
|
|
517
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
517
|
+
let b = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.wu.ch);
|
|
518
518
|
b.c = this.v8;
|
|
519
|
-
let c = this.
|
|
520
|
-
let d = this.
|
|
521
|
-
let e = this.
|
|
522
|
-
let f = this.
|
|
523
|
-
this.
|
|
524
|
-
return this.
|
|
525
|
-
}
|
|
526
|
-
|
|
519
|
+
let c = this.ws.el(XamGeographicMap.yp.left, a);
|
|
520
|
+
let d = this.ws.el(XamGeographicMap.yp.right, a);
|
|
521
|
+
let e = this.wu.el(XamGeographicMap.yp.top, b);
|
|
522
|
+
let f = this.wu.el(XamGeographicMap.yp.bottom, b);
|
|
523
|
+
this.yr = new Rect(0, c / this.wk.width, f / this.wk.height, (d - c) / this.wk.width, (e - f) / this.wk.height);
|
|
524
|
+
return this.yr;
|
|
525
|
+
}
|
|
526
|
+
yw(a) {
|
|
527
527
|
let b = this.hm;
|
|
528
528
|
let c = 0.5 * (a.left + a.right);
|
|
529
529
|
let d = 0.5 * (a.top + a.bottom);
|
|
@@ -531,7 +531,7 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
531
531
|
let f = a.height;
|
|
532
532
|
let g = MathUtil.d(a.width, b, 1);
|
|
533
533
|
let h = MathUtil.d(a.height, b, 1);
|
|
534
|
-
let i = this.
|
|
534
|
+
let i = this.wk;
|
|
535
535
|
let j = i.width / i.height;
|
|
536
536
|
let k = g * i.width;
|
|
537
537
|
let l = h * i.height;
|
|
@@ -571,7 +571,7 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
571
571
|
return new Rect(0, p, q, r - p, s - q);
|
|
572
572
|
}
|
|
573
573
|
v6(a) {
|
|
574
|
-
super.v6(this.
|
|
574
|
+
super.v6(this.wk);
|
|
575
575
|
if (a.isEmpty) {
|
|
576
576
|
return Rect.empty;
|
|
577
577
|
}
|
|
@@ -586,58 +586,58 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
586
586
|
}
|
|
587
587
|
return b;
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
yy(a) {
|
|
590
590
|
return this.v6(a);
|
|
591
591
|
}
|
|
592
592
|
c8() {
|
|
593
593
|
return new XamGeographicMapView(this);
|
|
594
594
|
}
|
|
595
|
-
|
|
595
|
+
xy(a) {
|
|
596
596
|
if (a != null) {
|
|
597
597
|
a.bi = this;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
p5(a) {
|
|
601
601
|
super.p5(a);
|
|
602
|
-
this.
|
|
602
|
+
this.w4 = a;
|
|
603
603
|
}
|
|
604
604
|
qg(a, b) {
|
|
605
605
|
super.qg(a, b);
|
|
606
|
-
this.rl(this.
|
|
607
|
-
this.rl(this.
|
|
606
|
+
this.rl(this.ws);
|
|
607
|
+
this.rl(this.wu);
|
|
608
608
|
if (Rect.l_op_Inequality(a, b)) {
|
|
609
|
-
this.
|
|
609
|
+
this.x3();
|
|
610
610
|
}
|
|
611
|
-
if (this.
|
|
611
|
+
if (this.w9) {
|
|
612
612
|
this.v4 = this.v5();
|
|
613
613
|
}
|
|
614
|
-
this.
|
|
614
|
+
this.ya();
|
|
615
615
|
}
|
|
616
|
-
get
|
|
617
|
-
return this.
|
|
616
|
+
get xe() {
|
|
617
|
+
return this.xc;
|
|
618
618
|
}
|
|
619
|
-
set
|
|
620
|
-
let b = this.
|
|
621
|
-
this.
|
|
622
|
-
this.qm("ActualWindowScale", b, this.
|
|
619
|
+
set xe(a) {
|
|
620
|
+
let b = this.xc;
|
|
621
|
+
this.xc = a;
|
|
622
|
+
this.qm("ActualWindowScale", b, this.xc);
|
|
623
623
|
}
|
|
624
624
|
hs() {
|
|
625
|
-
return this.
|
|
625
|
+
return this.xe;
|
|
626
626
|
}
|
|
627
627
|
ht() {
|
|
628
|
-
return this.
|
|
628
|
+
return this.xe;
|
|
629
629
|
}
|
|
630
630
|
rk() {
|
|
631
631
|
super.rk();
|
|
632
632
|
let a = Math.min(this.v4.width, this.v4.height);
|
|
633
|
-
this.
|
|
633
|
+
this.xe = a;
|
|
634
634
|
}
|
|
635
635
|
f4() {
|
|
636
|
-
return this.
|
|
636
|
+
return this.w6;
|
|
637
637
|
}
|
|
638
638
|
cs() {
|
|
639
639
|
if (this.ct == 0) {
|
|
640
|
-
if (this.
|
|
640
|
+
if (this.w7) {
|
|
641
641
|
return 2;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
@@ -647,73 +647,73 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
647
647
|
super.qh(a, b, c, d);
|
|
648
648
|
switch (b) {
|
|
649
649
|
case "ZoomCoercionMode":
|
|
650
|
-
this.
|
|
650
|
+
this.xz();
|
|
651
651
|
break;
|
|
652
652
|
case "WindowRect":
|
|
653
|
-
this.
|
|
653
|
+
this.x7();
|
|
654
654
|
break;
|
|
655
655
|
case XamGeographicMap.$$p[0]:
|
|
656
|
-
this.
|
|
657
|
-
if (this.
|
|
658
|
-
this.
|
|
656
|
+
this.w0 = this.w1();
|
|
657
|
+
if (this.wx != null) {
|
|
658
|
+
this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
|
|
659
659
|
}
|
|
660
660
|
break;
|
|
661
661
|
case XamGeographicMap.$$p[1]:
|
|
662
|
-
this.
|
|
663
|
-
this.
|
|
662
|
+
this.w6 = this.w7;
|
|
663
|
+
this.w0 = this.w1();
|
|
664
664
|
this.cr = this.cs();
|
|
665
|
-
if (this.
|
|
666
|
-
this.
|
|
665
|
+
if (this.wx != null) {
|
|
666
|
+
this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
|
|
667
667
|
}
|
|
668
668
|
break;
|
|
669
669
|
case XamGeographicMap.$$p[4]:
|
|
670
670
|
this.v4 = this.v5();
|
|
671
671
|
break;
|
|
672
672
|
case "BackgroundContent":
|
|
673
|
-
if (this.
|
|
674
|
-
let e = this.
|
|
675
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
676
|
-
this.
|
|
673
|
+
if (this.wx != null) {
|
|
674
|
+
let e = this.wx;
|
|
675
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.x0));
|
|
676
|
+
this.wx.deferralHandler = null;
|
|
677
677
|
}
|
|
678
|
-
this.
|
|
679
|
-
if (this.
|
|
680
|
-
let f = this.
|
|
681
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
682
|
-
this.
|
|
683
|
-
this.
|
|
678
|
+
this.wx = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
679
|
+
if (this.wx != null) {
|
|
680
|
+
let f = this.wx;
|
|
681
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.x0));
|
|
682
|
+
this.wx.deferralHandler = this;
|
|
683
|
+
this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
|
|
684
684
|
}
|
|
685
|
-
this.
|
|
686
|
-
if (this.
|
|
687
|
-
this.
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
685
|
+
this.w4.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
686
|
+
if (this.wx != null) {
|
|
687
|
+
this.wx.geographicMap = this;
|
|
688
|
+
this.w4.fr(this.v4);
|
|
689
|
+
this.w4.fv(this.hi);
|
|
690
690
|
}
|
|
691
691
|
break;
|
|
692
692
|
case "YAxis":
|
|
693
693
|
case "XAxis":
|
|
694
|
-
this.
|
|
695
|
-
this.
|
|
694
|
+
this.x5(c);
|
|
695
|
+
this.xy(d);
|
|
696
696
|
break;
|
|
697
697
|
case XamGeographicMap.$$p[6]:
|
|
698
|
-
if (!this.
|
|
699
|
-
this.
|
|
698
|
+
if (!this.w8) {
|
|
699
|
+
this.wl = XamGeographicMap.ys;
|
|
700
700
|
}
|
|
701
|
-
this.
|
|
702
|
-
this.x5();
|
|
701
|
+
this.xz();
|
|
703
702
|
this.x6();
|
|
703
|
+
this.x7();
|
|
704
704
|
this.v4 = this.v5();
|
|
705
|
-
this.
|
|
705
|
+
this.w4.fs();
|
|
706
706
|
break;
|
|
707
707
|
case "ActualWindowRect":
|
|
708
|
-
this.
|
|
708
|
+
this.w4.fr(this.v4);
|
|
709
709
|
break;
|
|
710
710
|
case "ActualWorldRect":
|
|
711
711
|
for (let g of fromEnum(this.series)) {
|
|
712
|
-
g.
|
|
712
|
+
g.rr(false);
|
|
713
713
|
}
|
|
714
714
|
break;
|
|
715
715
|
case XamGeographicMap.$$p[5]:
|
|
716
|
-
this.
|
|
716
|
+
this.xe = this.xf;
|
|
717
717
|
break;
|
|
718
718
|
case "ActualWindowScale":
|
|
719
719
|
if (!this.gc) {
|
|
@@ -721,7 +721,7 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
721
721
|
}
|
|
722
722
|
break;
|
|
723
723
|
case "ActualPixelScalingRatio":
|
|
724
|
-
this.
|
|
724
|
+
this.w4.fv(this.hi);
|
|
725
725
|
break;
|
|
726
726
|
case "WindowRectMinWidth":
|
|
727
727
|
case "WindowRectMinHeight":
|
|
@@ -740,49 +740,49 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
740
740
|
break;
|
|
741
741
|
case "MarkerAutomaticBehavior":
|
|
742
742
|
for (let i of fromEnum(this.series)) {
|
|
743
|
-
i.
|
|
743
|
+
i.qg();
|
|
744
744
|
}
|
|
745
745
|
break;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
|
|
748
|
+
x0(a, b) {
|
|
749
749
|
if (this.imageTilesReady != null) {
|
|
750
750
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
|
-
|
|
753
|
+
x5(a) {
|
|
754
754
|
if (a != null) {
|
|
755
755
|
a.bi = null;
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
|
|
759
|
-
if (this.
|
|
760
|
-
this.
|
|
761
|
-
this.
|
|
758
|
+
x6() {
|
|
759
|
+
if (this.ws != null) {
|
|
760
|
+
this.ws.mc = this.yt.left;
|
|
761
|
+
this.ws.mb = this.yt.right;
|
|
762
762
|
}
|
|
763
|
-
if (this.
|
|
764
|
-
this.
|
|
765
|
-
this.
|
|
763
|
+
if (this.wu != null) {
|
|
764
|
+
this.wu.mc = this.yt.top;
|
|
765
|
+
this.wu.mb = this.yt.bottom;
|
|
766
766
|
}
|
|
767
|
-
this.
|
|
768
|
-
this.
|
|
767
|
+
this.ws.c2(true);
|
|
768
|
+
this.wu.c2(true);
|
|
769
769
|
}
|
|
770
770
|
getFontInfo() {
|
|
771
|
-
this.
|
|
772
|
-
return this.
|
|
771
|
+
this.w5 = this.w4.fo;
|
|
772
|
+
return this.w5;
|
|
773
773
|
}
|
|
774
774
|
u8() {
|
|
775
|
-
return this.
|
|
775
|
+
return this.w4.fw;
|
|
776
776
|
}
|
|
777
777
|
getFontBrush() {
|
|
778
|
-
return this.
|
|
778
|
+
return this.w4.fx;
|
|
779
779
|
}
|
|
780
780
|
rd(a, b) {
|
|
781
781
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
782
782
|
let c = b;
|
|
783
783
|
let d = a;
|
|
784
784
|
d.itemsSource = c.triangulationSource.points;
|
|
785
|
-
d.
|
|
785
|
+
d.w9 = c.triangulationSource.triangles;
|
|
786
786
|
}
|
|
787
787
|
else {
|
|
788
788
|
super.rd(a, b);
|
|
@@ -798,20 +798,20 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
798
798
|
this.ni();
|
|
799
799
|
}
|
|
800
800
|
deferAction(a) {
|
|
801
|
-
if (this.
|
|
802
|
-
this.
|
|
801
|
+
if (this.xh != null) {
|
|
802
|
+
this.xh.setTimeout(a, 0);
|
|
803
803
|
}
|
|
804
804
|
else {
|
|
805
805
|
window.setTimeout(a, 0);
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
|
-
|
|
808
|
+
xx(a) {
|
|
809
809
|
this.rq(a);
|
|
810
810
|
}
|
|
811
|
-
|
|
811
|
+
xi() {
|
|
812
812
|
let a = new ChartVisualData();
|
|
813
|
-
let b = this.
|
|
814
|
-
let c = this.
|
|
813
|
+
let b = this.ws.fy();
|
|
814
|
+
let c = this.wu.fy();
|
|
815
815
|
a.axes.add1(b);
|
|
816
816
|
a.axes.add1(c);
|
|
817
817
|
for (let d = 0; d < this.series.count; d++) {
|
|
@@ -819,42 +819,42 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
819
819
|
a.series.add1(e);
|
|
820
820
|
}
|
|
821
821
|
a.name = this.name;
|
|
822
|
-
a.contentArea = RectData.b(this.
|
|
823
|
-
a.centralArea = RectData.b(this.
|
|
824
|
-
a.plotArea = RectData.b(this.
|
|
822
|
+
a.contentArea = RectData.b(this.wk);
|
|
823
|
+
a.centralArea = RectData.b(this.wk);
|
|
824
|
+
a.plotArea = RectData.b(this.wk);
|
|
825
825
|
return a;
|
|
826
826
|
}
|
|
827
827
|
wb(a, b, c) {
|
|
828
828
|
return a;
|
|
829
829
|
}
|
|
830
|
-
|
|
830
|
+
x1() {
|
|
831
831
|
}
|
|
832
|
-
get
|
|
833
|
-
return this.
|
|
832
|
+
get y4() {
|
|
833
|
+
return this.yq;
|
|
834
834
|
}
|
|
835
|
-
set
|
|
836
|
-
this.
|
|
835
|
+
set y4(a) {
|
|
836
|
+
this.yq = a;
|
|
837
837
|
}
|
|
838
|
-
|
|
839
|
-
this.
|
|
840
|
-
this.
|
|
838
|
+
yb(a) {
|
|
839
|
+
this.y4 = a;
|
|
840
|
+
this.ya();
|
|
841
841
|
}
|
|
842
|
-
|
|
843
|
-
if (this.
|
|
844
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
845
|
-
this.
|
|
842
|
+
ya() {
|
|
843
|
+
if (this.xb && !this.y4.isEmpty) {
|
|
844
|
+
let a = this.getZoomFromGeographicRect(this.y4);
|
|
845
|
+
this.y4 = Rect.empty;
|
|
846
846
|
this.rx(a, false);
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
get
|
|
850
|
-
return !this.
|
|
849
|
+
get xb() {
|
|
850
|
+
return !this.wk.isEmpty && !this.v8.isEmpty;
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
854
|
-
XamGeographicMap.
|
|
855
|
-
XamGeographicMap.
|
|
856
|
-
XamGeographicMap.
|
|
857
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'qm', ['BackgroundTilingMode:
|
|
854
|
+
XamGeographicMap.w2 = 0;
|
|
855
|
+
XamGeographicMap.yp = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
856
|
+
XamGeographicMap.ys = new Rect(0, 0, 0, 1, 1);
|
|
857
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'qm', ['BackgroundTilingMode:wz:yc', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:w7:yd', [0, false], 'ResizeBehavior:w3:ye', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.w2)], 'SuppressZoomResetOnWorldRectChange:w8:yf', [0, false], 'UseWorldRectForZoomBounds:w9:yg', [0, false], 'WindowScale:xf:yh', [1, NaN], 'WorldRect:y5:yi', [Rect.$, XamGeographicMap.yp], 'Zoomable:xa:yj', [0, true]]);
|
|
858
858
|
return XamGeographicMap;
|
|
859
859
|
})();
|
|
860
860
|
/**
|
|
@@ -984,14 +984,14 @@ export let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
984
984
|
return a;
|
|
985
985
|
}
|
|
986
986
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
987
|
-
let c = this.geographicMap.
|
|
988
|
-
let d = XamGeographicMap.
|
|
989
|
-
let e = this.geographicMap.
|
|
987
|
+
let c = this.geographicMap.yy(b);
|
|
988
|
+
let d = XamGeographicMap.yp;
|
|
989
|
+
let e = this.geographicMap.yt;
|
|
990
990
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
991
991
|
let g = e.width / d.width;
|
|
992
992
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
993
|
-
let h = this.geographicMap.
|
|
994
|
-
let i = this.geographicMap.
|
|
993
|
+
let h = this.geographicMap.ws;
|
|
994
|
+
let i = this.geographicMap.wu;
|
|
995
995
|
let j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
996
996
|
j.c = c;
|
|
997
997
|
let k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -1091,41 +1091,41 @@ export let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
b5() {
|
|
1093
1093
|
super.b5();
|
|
1094
|
-
let a = this.ch.
|
|
1095
|
-
a.
|
|
1096
|
-
a.
|
|
1097
|
-
a.trianglesSource = this.ch.
|
|
1098
|
-
a.xm = this.ch.xd;
|
|
1094
|
+
let a = this.ch.w0;
|
|
1095
|
+
a.x0 = this.ch.xc;
|
|
1096
|
+
a.x8 = this.ch.xa;
|
|
1097
|
+
a.trianglesSource = this.ch.w9;
|
|
1099
1098
|
a.xo = this.ch.xf;
|
|
1100
1099
|
a.xq = this.ch.xh;
|
|
1100
|
+
a.xs = this.ch.xj;
|
|
1101
1101
|
}
|
|
1102
1102
|
ck() {
|
|
1103
|
-
let a = this.ch.
|
|
1103
|
+
let a = this.ch.w0;
|
|
1104
1104
|
if (this.ch.db == null) {
|
|
1105
|
-
a.
|
|
1106
|
-
a.
|
|
1105
|
+
a.wy = null;
|
|
1106
|
+
a.wz = null;
|
|
1107
1107
|
return;
|
|
1108
1108
|
}
|
|
1109
|
-
a.
|
|
1110
|
-
a.
|
|
1109
|
+
a.wy = this.ch.db.ws;
|
|
1110
|
+
a.wz = this.ch.db.wu;
|
|
1111
1111
|
}
|
|
1112
1112
|
cj() {
|
|
1113
|
-
this.ch.
|
|
1113
|
+
this.ch.w0.x0 = this.ch.xc;
|
|
1114
1114
|
}
|
|
1115
1115
|
ci() {
|
|
1116
|
-
this.ch.
|
|
1116
|
+
this.ch.w0.x8 = this.ch.xa;
|
|
1117
1117
|
}
|
|
1118
1118
|
cl() {
|
|
1119
|
-
this.ch.
|
|
1119
|
+
this.ch.w0.trianglesSource = this.ch.w9;
|
|
1120
1120
|
}
|
|
1121
1121
|
cm() {
|
|
1122
|
-
this.ch.
|
|
1122
|
+
this.ch.w0.xo = this.ch.xf;
|
|
1123
1123
|
}
|
|
1124
1124
|
cn() {
|
|
1125
|
-
this.ch.
|
|
1125
|
+
this.ch.w0.xq = this.ch.xh;
|
|
1126
1126
|
}
|
|
1127
1127
|
co() {
|
|
1128
|
-
this.ch.
|
|
1128
|
+
this.ch.w0.xs = this.ch.xj;
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
GeographicXYTriangulatingSeriesView.$t = markType(GeographicXYTriangulatingSeriesView, 'GeographicXYTriangulatingSeriesView', HostSeriesView.$);
|
|
@@ -1148,19 +1148,19 @@ export let GeographicScatterAreaSeriesView = /*@__PURE__*/ (() => {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
b5() {
|
|
1150
1150
|
super.b5();
|
|
1151
|
-
if (this.cp.
|
|
1152
|
-
this.cp.
|
|
1153
|
-
this.cp.
|
|
1151
|
+
if (this.cp.xu != null) {
|
|
1152
|
+
this.cp.xu.y7 = this.cp.xy;
|
|
1153
|
+
this.cp.xu.yv = this.cp.xt;
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
1156
|
cq() {
|
|
1157
|
-
if (this.cp.
|
|
1158
|
-
this.cp.
|
|
1157
|
+
if (this.cp.xu != null) {
|
|
1158
|
+
this.cp.xu.y7 = this.cp.xy;
|
|
1159
1159
|
}
|
|
1160
1160
|
}
|
|
1161
1161
|
cr() {
|
|
1162
|
-
if (this.cp.
|
|
1163
|
-
this.cp.
|
|
1162
|
+
if (this.cp.xu != null) {
|
|
1163
|
+
this.cp.xu.yv = this.cp.xt;
|
|
1164
1164
|
}
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
@@ -1190,7 +1190,7 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
bk(a) {
|
|
1192
1192
|
this.j.bw(a);
|
|
1193
|
-
this.fn.
|
|
1193
|
+
this.fn.xx(a);
|
|
1194
1194
|
this.el();
|
|
1195
1195
|
}
|
|
1196
1196
|
get_ap() {
|
|
@@ -1253,13 +1253,13 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
1255
|
fr(a) {
|
|
1256
|
-
if (this.fn.
|
|
1257
|
-
this.fn.
|
|
1256
|
+
if (this.fn.wx != null) {
|
|
1257
|
+
this.fn.wx.windowRect = a;
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
fu(a, b) {
|
|
1261
|
-
if (this.fn.
|
|
1262
|
-
this.fn.
|
|
1261
|
+
if (this.fn.wx != null) {
|
|
1262
|
+
this.fn.wx.windowRect = this.fn.v4;
|
|
1263
1263
|
}
|
|
1264
1264
|
if (a != null) {
|
|
1265
1265
|
let c = a.ao;
|
|
@@ -1358,39 +1358,39 @@ export let GeographicXYTriangulatingSeries = /*@__PURE__*/ (() => {
|
|
|
1358
1358
|
cs() {
|
|
1359
1359
|
return new GeographicXYTriangulatingSeriesView(this);
|
|
1360
1360
|
}
|
|
1361
|
-
|
|
1362
|
-
super.
|
|
1363
|
-
this.
|
|
1361
|
+
q1(a) {
|
|
1362
|
+
super.q1(a);
|
|
1363
|
+
this.w8 = a;
|
|
1364
1364
|
}
|
|
1365
|
-
|
|
1366
|
-
super.
|
|
1365
|
+
q9(a, b, c, d) {
|
|
1366
|
+
super.q9(a, b, c, d);
|
|
1367
1367
|
switch (b) {
|
|
1368
1368
|
case "SeriesViewer":
|
|
1369
|
-
this.
|
|
1369
|
+
this.w8.ck();
|
|
1370
1370
|
break;
|
|
1371
1371
|
case GeographicXYTriangulatingSeries.$$p[1]:
|
|
1372
|
-
this.
|
|
1372
|
+
this.w8.cj();
|
|
1373
1373
|
break;
|
|
1374
1374
|
case GeographicXYTriangulatingSeries.$$p[0]:
|
|
1375
|
-
this.
|
|
1375
|
+
this.w8.ci();
|
|
1376
1376
|
break;
|
|
1377
1377
|
case GeographicXYTriangulatingSeries.$$p[5]:
|
|
1378
|
-
this.
|
|
1378
|
+
this.w8.cl();
|
|
1379
1379
|
break;
|
|
1380
1380
|
case GeographicXYTriangulatingSeries.$$p[2]:
|
|
1381
|
-
this.
|
|
1381
|
+
this.w8.cm();
|
|
1382
1382
|
break;
|
|
1383
1383
|
case GeographicXYTriangulatingSeries.$$p[3]:
|
|
1384
|
-
this.
|
|
1384
|
+
this.w8.cn();
|
|
1385
1385
|
break;
|
|
1386
1386
|
case GeographicXYTriangulatingSeries.$$p[4]:
|
|
1387
|
-
this.
|
|
1387
|
+
this.w8.co();
|
|
1388
1388
|
break;
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
1391
|
}
|
|
1392
1392
|
GeographicXYTriangulatingSeries.$t = markType(GeographicXYTriangulatingSeries, 'GeographicXYTriangulatingSeries', GeographicMapSeriesHost.$);
|
|
1393
|
-
GeographicXYTriangulatingSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicXYTriangulatingSeries, 'raisePropertyChanged', ['LatitudeMemberPath:
|
|
1393
|
+
GeographicXYTriangulatingSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicXYTriangulatingSeries, 'raisePropertyChanged', ['LatitudeMemberPath:xa:xl', [2, "pointY"], 'LongitudeMemberPath:xc:xm', [2, "pointX"], 'TriangleVertexMemberPath1:xf:xo', [2, "v1"], 'TriangleVertexMemberPath2:xh:xp', [2, "v2"], 'TriangleVertexMemberPath3:xj:xq', [2, "v3"], 'TrianglesSource:w9:xn', [IEnumerable_$type, null]]);
|
|
1394
1394
|
return GeographicXYTriangulatingSeries;
|
|
1395
1395
|
})();
|
|
1396
1396
|
/**
|
|
@@ -1400,7 +1400,7 @@ export let GeographicScatterAreaSeries = /*@__PURE__*/ (() => {
|
|
|
1400
1400
|
class GeographicScatterAreaSeries extends GeographicXYTriangulatingSeries {
|
|
1401
1401
|
constructor() {
|
|
1402
1402
|
super();
|
|
1403
|
-
this.
|
|
1403
|
+
this.xr = null;
|
|
1404
1404
|
this.triangulationStatusChanged = null;
|
|
1405
1405
|
this.ab = GeographicScatterAreaSeries.$;
|
|
1406
1406
|
}
|
|
@@ -1410,49 +1410,49 @@ export let GeographicScatterAreaSeries = /*@__PURE__*/ (() => {
|
|
|
1410
1410
|
get_eu() {
|
|
1411
1411
|
return true;
|
|
1412
1412
|
}
|
|
1413
|
-
get
|
|
1414
|
-
return this.
|
|
1413
|
+
get xt() {
|
|
1414
|
+
return this.xr;
|
|
1415
1415
|
}
|
|
1416
|
-
set
|
|
1417
|
-
let b = this.
|
|
1416
|
+
set xt(a) {
|
|
1417
|
+
let b = this.xr != a;
|
|
1418
1418
|
if (b) {
|
|
1419
|
-
let c = this.
|
|
1420
|
-
if (this.
|
|
1421
|
-
let d = this.
|
|
1422
|
-
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.
|
|
1419
|
+
let c = this.xr;
|
|
1420
|
+
if (this.xr != null) {
|
|
1421
|
+
let d = this.xr;
|
|
1422
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.x1));
|
|
1423
1423
|
}
|
|
1424
|
-
this.
|
|
1425
|
-
if (this.
|
|
1426
|
-
let e = this.
|
|
1427
|
-
e.propertyChanged = delegateCombine(e.propertyChanged, runOn(this, this.
|
|
1424
|
+
this.xr = a;
|
|
1425
|
+
if (this.xr != null) {
|
|
1426
|
+
let e = this.xr;
|
|
1427
|
+
e.propertyChanged = delegateCombine(e.propertyChanged, runOn(this, this.x1));
|
|
1428
1428
|
}
|
|
1429
|
-
this.raisePropertyChanged("ColorScale", c, this.
|
|
1430
|
-
if (this.
|
|
1431
|
-
this.
|
|
1429
|
+
this.raisePropertyChanged("ColorScale", c, this.xr);
|
|
1430
|
+
if (this.xu != null) {
|
|
1431
|
+
this.xu.yv = a;
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
1434
|
}
|
|
1435
|
-
|
|
1436
|
-
this.
|
|
1437
|
-
this.
|
|
1438
|
-
this.
|
|
1435
|
+
x1(a, b) {
|
|
1436
|
+
this.xw.cr();
|
|
1437
|
+
this.x3();
|
|
1438
|
+
this.rr(false);
|
|
1439
1439
|
}
|
|
1440
|
-
|
|
1441
|
-
if (this.
|
|
1442
|
-
this.
|
|
1440
|
+
x3() {
|
|
1441
|
+
if (this.xu != null) {
|
|
1442
|
+
this.xs = this.xu.yu;
|
|
1443
1443
|
}
|
|
1444
1444
|
}
|
|
1445
|
-
|
|
1446
|
-
super.
|
|
1447
|
-
this.
|
|
1445
|
+
sh() {
|
|
1446
|
+
super.sh();
|
|
1447
|
+
this.x3();
|
|
1448
1448
|
}
|
|
1449
|
-
|
|
1450
|
-
this.
|
|
1451
|
-
let a = this.
|
|
1452
|
-
a.triangulationStatusChanged = delegateCombine(a.triangulationStatusChanged, runOn(this, this.
|
|
1453
|
-
return this.
|
|
1449
|
+
wz() {
|
|
1450
|
+
this.xu = new ScatterAreaSeries();
|
|
1451
|
+
let a = this.xu;
|
|
1452
|
+
a.triangulationStatusChanged = delegateCombine(a.triangulationStatusChanged, runOn(this, this.x2));
|
|
1453
|
+
return this.xu;
|
|
1454
1454
|
}
|
|
1455
|
-
|
|
1455
|
+
x2(a, b) {
|
|
1456
1456
|
if (this.triangulationStatusChanged != null) {
|
|
1457
1457
|
this.triangulationStatusChanged(this, b);
|
|
1458
1458
|
}
|
|
@@ -1460,19 +1460,19 @@ export let GeographicScatterAreaSeries = /*@__PURE__*/ (() => {
|
|
|
1460
1460
|
cs() {
|
|
1461
1461
|
return new GeographicScatterAreaSeriesView(this);
|
|
1462
1462
|
}
|
|
1463
|
-
|
|
1464
|
-
super.
|
|
1465
|
-
this.
|
|
1463
|
+
q1(a) {
|
|
1464
|
+
super.q1(a);
|
|
1465
|
+
this.xw = a;
|
|
1466
1466
|
}
|
|
1467
|
-
|
|
1468
|
-
super.
|
|
1467
|
+
q9(a, b, c, d) {
|
|
1468
|
+
super.q9(a, b, c, d);
|
|
1469
1469
|
switch (b) {
|
|
1470
1470
|
case GeographicScatterAreaSeries.$$p[1]:
|
|
1471
|
-
this.
|
|
1471
|
+
this.xw.cq();
|
|
1472
1472
|
break;
|
|
1473
1473
|
case "ColorScale":
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1474
|
+
this.xw.cr();
|
|
1475
|
+
this.x3();
|
|
1476
1476
|
break;
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
@@ -1484,6 +1484,6 @@ export let GeographicScatterAreaSeries = /*@__PURE__*/ (() => {
|
|
|
1484
1484
|
}
|
|
1485
1485
|
}
|
|
1486
1486
|
GeographicScatterAreaSeries.$t = markType(GeographicScatterAreaSeries, 'GeographicScatterAreaSeries', GeographicXYTriangulatingSeries.$);
|
|
1487
|
-
GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ActualColorScale:
|
|
1487
|
+
GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ActualColorScale:xs:x4', [ColorScale.$, null], 'ColorMemberPath:xy:x5', [2, "value"]]);
|
|
1488
1488
|
return GeographicScatterAreaSeries;
|
|
1489
1489
|
})();
|