igniteui-angular-maps 13.0.0 → 13.1.0
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 +2314 -1859
- package/bundles/igniteui-angular-maps.umd.js.map +1 -1
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/bundles/igniteui-angular-maps.umd.min.js.map +1 -1
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js +60 -39
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +111 -93
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +239 -147
- package/esm2015/lib/GeographicMapSeriesHost_combined.js.map +1 -1
- package/esm2015/lib/GeographicMarkerSeries.js +90 -0
- package/esm2015/lib/GeographicMarkerSeries.js.map +1 -0
- package/esm2015/lib/GeographicMarkerSeriesBase.js +18 -0
- package/esm2015/lib/GeographicMarkerSeriesBase.js.map +1 -0
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js +32 -22
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicProportionalSymbolSeriesBase.js +3 -3
- package/esm2015/lib/GeographicProportionalSymbolSeriesBase.js.map +1 -1
- package/esm2015/lib/GeographicProportionalSymbolSeriesBaseView.js +2 -2
- package/esm2015/lib/GeographicProportionalSymbolSeriesBaseView.js.map +1 -1
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +129 -159
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicShapeSeriesBaseBaseView.js +2 -2
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +72 -92
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js.map +1 -1
- package/esm2015/lib/GeographicShapeSeriesView_combined.js +99 -66
- package/esm2015/lib/GeographicShapeSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicSymbolSeriesBase.js +3 -3
- package/esm2015/lib/GeographicSymbolSeriesBase.js.map +1 -1
- package/esm2015/lib/GeographicSymbolSeriesBaseView.js +2 -2
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +82 -112
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicTileSeries.js +30 -27
- package/esm2015/lib/GeographicTileSeries.js.map +1 -1
- package/esm2015/lib/GeographicXYTriangulatingSeriesBaseView.js +2 -2
- package/esm2015/lib/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm2015/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm2015/lib/TileSeries_combined.js +106 -89
- package/esm2015/lib/TileSeries_combined.js.map +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +540 -527
- package/esm2015/lib/XamGeographicMap_combined.js.map +1 -1
- package/esm2015/lib/igx-geographic-contour-line-series-component.js +52 -17
- package/esm2015/lib/igx-geographic-contour-line-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js +28 -22
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-component.js +62 -50
- package/esm2015/lib/igx-geographic-map-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-series-host-component.js +30 -20
- package/esm2015/lib/igx-geographic-map-series-host-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-marker-series-base-component.js +26 -0
- package/esm2015/lib/igx-geographic-marker-series-base-component.js.map +1 -0
- package/esm2015/lib/igx-geographic-marker-series-component.js +157 -0
- package/esm2015/lib/igx-geographic-marker-series-component.js.map +1 -0
- package/esm2015/lib/igx-geographic-polyline-series-component.js +16 -10
- package/esm2015/lib/igx-geographic-polyline-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-proportional-symbol-series-base-component.js +2 -2
- package/esm2015/lib/igx-geographic-proportional-symbol-series-base-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +53 -140
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js +52 -10
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-shape-series-base-component.js +20 -20
- package/esm2015/lib/igx-geographic-shape-series-component.js +67 -28
- package/esm2015/lib/igx-geographic-shape-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-symbol-series-base-component.js +2 -2
- package/esm2015/lib/igx-geographic-symbol-series-base-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-symbol-series-component.js +25 -112
- package/esm2015/lib/igx-geographic-symbol-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-tile-series-component.js +10 -4
- package/esm2015/lib/igx-geographic-tile-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm2015/lib/igx-tile-series-component.js +9 -3
- package/esm2015/lib/igx-tile-series-component.js.map +1 -1
- package/esm2015/public_api.js +4 -0
- package/esm2015/public_api.js.map +1 -1
- package/esm5/lib/GeographicContourLineSeriesView_combined.js +60 -39
- package/esm5/lib/GeographicContourLineSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +110 -92
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicMapSeriesHost_combined.js +237 -145
- package/esm5/lib/GeographicMapSeriesHost_combined.js.map +1 -1
- package/esm5/lib/GeographicMarkerSeries.js +92 -0
- package/esm5/lib/GeographicMarkerSeries.js.map +1 -0
- package/esm5/lib/GeographicMarkerSeriesBase.js +22 -0
- package/esm5/lib/GeographicMarkerSeriesBase.js.map +1 -0
- package/esm5/lib/GeographicPolylineSeriesView_combined.js +32 -22
- package/esm5/lib/GeographicPolylineSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicProportionalSymbolSeriesBase.js +3 -3
- package/esm5/lib/GeographicProportionalSymbolSeriesBase.js.map +1 -1
- package/esm5/lib/GeographicProportionalSymbolSeriesBaseView.js +2 -2
- package/esm5/lib/GeographicProportionalSymbolSeriesBaseView.js.map +1 -1
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +129 -159
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicShapeSeriesBaseBaseView.js +2 -2
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +70 -90
- package/esm5/lib/GeographicShapeSeriesBase_combined.js.map +1 -1
- package/esm5/lib/GeographicShapeSeriesView_combined.js +99 -66
- package/esm5/lib/GeographicShapeSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicSymbolSeriesBase.js +3 -3
- package/esm5/lib/GeographicSymbolSeriesBase.js.map +1 -1
- package/esm5/lib/GeographicSymbolSeriesBaseView.js +2 -2
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +82 -112
- package/esm5/lib/GeographicSymbolSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicTileSeries.js +29 -26
- package/esm5/lib/GeographicTileSeries.js.map +1 -1
- package/esm5/lib/GeographicXYTriangulatingSeriesBaseView.js +2 -2
- package/esm5/lib/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm5/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm5/lib/TileSeries_combined.js +104 -87
- package/esm5/lib/TileSeries_combined.js.map +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +553 -524
- package/esm5/lib/XamGeographicMap_combined.js.map +1 -1
- package/esm5/lib/igx-geographic-contour-line-series-component.js +60 -17
- package/esm5/lib/igx-geographic-contour-line-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js +32 -22
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-map-component.js +62 -50
- package/esm5/lib/igx-geographic-map-component.js.map +1 -1
- package/esm5/lib/igx-geographic-map-series-host-component.js +30 -20
- package/esm5/lib/igx-geographic-map-series-host-component.js.map +1 -1
- package/esm5/lib/igx-geographic-marker-series-base-component.js +31 -0
- package/esm5/lib/igx-geographic-marker-series-base-component.js.map +1 -0
- package/esm5/lib/igx-geographic-marker-series-component.js +206 -0
- package/esm5/lib/igx-geographic-marker-series-component.js.map +1 -0
- package/esm5/lib/igx-geographic-polyline-series-component.js +20 -10
- package/esm5/lib/igx-geographic-polyline-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-proportional-symbol-series-base-component.js +2 -2
- package/esm5/lib/igx-geographic-proportional-symbol-series-base-component.js.map +1 -1
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +54 -169
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-scatter-area-series-component.js +60 -10
- package/esm5/lib/igx-geographic-scatter-area-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-shape-series-base-component.js +20 -20
- package/esm5/lib/igx-geographic-shape-series-component.js +83 -28
- package/esm5/lib/igx-geographic-shape-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-symbol-series-base-component.js +2 -2
- package/esm5/lib/igx-geographic-symbol-series-base-component.js.map +1 -1
- package/esm5/lib/igx-geographic-symbol-series-component.js +26 -141
- package/esm5/lib/igx-geographic-symbol-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-tile-series-component.js +14 -4
- package/esm5/lib/igx-geographic-tile-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm5/lib/igx-tile-series-component.js +13 -3
- package/esm5/lib/igx-tile-series-component.js.map +1 -1
- package/esm5/public_api.js +4 -0
- package/esm5/public_api.js.map +1 -1
- package/fesm2015/igniteui-angular-maps.js +2191 -1800
- package/fesm2015/igniteui-angular-maps.js.map +1 -1
- package/fesm5/igniteui-angular-maps.js +2313 -1862
- package/fesm5/igniteui-angular-maps.js.map +1 -1
- package/lib/GeographicContourLineSeriesView_combined.d.ts +22 -17
- package/lib/GeographicHighDensityScatterSeriesView_combined.d.ts +39 -37
- package/lib/GeographicMapSeriesHost_combined.d.ts +61 -49
- package/lib/GeographicMarkerSeries.d.ts +32 -0
- package/lib/GeographicMarkerSeriesBase.d.ts +10 -0
- package/lib/GeographicPolylineSeriesView_combined.d.ts +16 -14
- package/lib/GeographicProportionalSymbolSeriesBase.d.ts +3 -3
- package/lib/GeographicProportionalSymbolSeriesBaseView.d.ts +3 -3
- package/lib/GeographicProportionalSymbolSeriesView_combined.d.ts +50 -63
- package/lib/GeographicShapeSeriesBaseBase.d.ts +1 -1
- package/lib/GeographicShapeSeriesBaseBaseView.d.ts +1 -1
- package/lib/GeographicShapeSeriesBase_combined.d.ts +30 -33
- package/lib/GeographicShapeSeriesView_combined.d.ts +42 -32
- package/lib/GeographicSymbolSeriesBase.d.ts +3 -3
- package/lib/GeographicSymbolSeriesBaseView.d.ts +3 -3
- package/lib/GeographicSymbolSeriesView_combined.d.ts +37 -50
- package/lib/GeographicTileSeries.d.ts +10 -9
- package/lib/GeographicXYTriangulatingSeriesBase.d.ts +1 -1
- package/lib/GeographicXYTriangulatingSeriesBaseView.d.ts +1 -1
- package/lib/TileSeries_combined.d.ts +25 -22
- package/lib/XamGeographicMap_combined.d.ts +133 -135
- package/lib/igx-geographic-contour-line-series-component.d.ts +11 -1
- package/lib/igx-geographic-high-density-scatter-series-component.d.ts +5 -0
- package/lib/igx-geographic-map-component.d.ts +12 -0
- package/lib/igx-geographic-map-series-host-component.d.ts +8 -0
- package/lib/igx-geographic-marker-series-base-component.d.ts +12 -0
- package/lib/igx-geographic-marker-series-component.d.ts +82 -0
- package/lib/igx-geographic-polyline-series-component.d.ts +5 -0
- package/lib/igx-geographic-proportional-symbol-series-base-component.d.ts +2 -2
- package/lib/igx-geographic-proportional-symbol-series-component.d.ts +8 -55
- package/lib/igx-geographic-scatter-area-series-component.d.ts +16 -1
- package/lib/igx-geographic-shape-series-component.d.ts +21 -1
- package/lib/igx-geographic-symbol-series-base-component.d.ts +2 -2
- package/lib/igx-geographic-symbol-series-component.d.ts +8 -55
- package/lib/igx-geographic-tile-series-component.d.ts +5 -0
- package/lib/igx-tile-series-component.d.ts +5 -0
- package/package.json +2 -2
- package/public_api.d.ts +4 -0
|
@@ -17,7 +17,6 @@ import { SphericalMercatorVerticalScaler } from "./SphericalMercatorVerticalScal
|
|
|
17
17
|
import { Control } from "igniteui-angular-core";
|
|
18
18
|
import { SphericalMercatorHorizontalScaler } from "./SphericalMercatorHorizontalScaler";
|
|
19
19
|
import { ScalerParams } from "igniteui-angular-charts";
|
|
20
|
-
import { Brush } from "igniteui-angular-core";
|
|
21
20
|
import { SeriesViewerView } from "igniteui-angular-charts";
|
|
22
21
|
import { Tuple$2 } from "igniteui-angular-core";
|
|
23
22
|
import { MathUtil } from "igniteui-angular-core";
|
|
@@ -33,7 +32,10 @@ import { ImagesChangedEventArgs } from "./ImagesChangedEventArgs";
|
|
|
33
32
|
import { HostSeriesView } from "./HostSeriesView";
|
|
34
33
|
import { GeographicMapSeriesHost } from "./GeographicMapSeriesHost";
|
|
35
34
|
import { ScatterAreaSeries } from "igniteui-angular-charts";
|
|
35
|
+
import { BrushCollection } from "igniteui-angular-core";
|
|
36
|
+
import { Defaults } from "igniteui-angular-charts";
|
|
36
37
|
import { OpenStreetMapTileSource } from "igniteui-angular-core";
|
|
38
|
+
import { ColorScale } from "igniteui-angular-charts";
|
|
37
39
|
/**
|
|
38
40
|
* @hidden
|
|
39
41
|
*/
|
|
@@ -41,22 +43,22 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
41
43
|
class XamGeographicMap extends SeriesViewer {
|
|
42
44
|
constructor() {
|
|
43
45
|
super();
|
|
46
|
+
this.qs = null;
|
|
47
|
+
this.qh = false;
|
|
48
|
+
this.p9 = 1;
|
|
49
|
+
this.qo = 0;
|
|
50
|
+
this.rz = null;
|
|
51
|
+
this.p6 = null;
|
|
52
|
+
this.p2 = null;
|
|
44
53
|
this.p4 = null;
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.pi = null;
|
|
50
|
-
this.pe = null;
|
|
51
|
-
this.pg = null;
|
|
52
|
-
this.pk = null;
|
|
53
|
-
this.q7 = { $type: Point_$type, x: NaN, y: NaN };
|
|
54
|
-
this.re = null;
|
|
55
|
-
this.pz = 1;
|
|
54
|
+
this.p8 = null;
|
|
55
|
+
this.rv = { $type: Point_$type, x: NaN, y: NaN };
|
|
56
|
+
this.r2 = null;
|
|
57
|
+
this.qn = 1;
|
|
56
58
|
this.imageTilesReady = null;
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
59
|
+
this.qg = null;
|
|
60
|
+
this.r1 = Rect.empty;
|
|
61
|
+
this.qo = SphericalMercatorVerticalScaler.am(XamGeographicMap.r0.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.r0.top);
|
|
60
62
|
this.ab = XamGeographicMap.$;
|
|
61
63
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
62
64
|
let a = ((() => {
|
|
@@ -64,71 +66,71 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
64
66
|
$ret.bh = this;
|
|
65
67
|
return $ret;
|
|
66
68
|
})());
|
|
67
|
-
a.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
69
|
+
a.ca = true;
|
|
70
|
+
this.p3 = a;
|
|
71
|
+
this.p3.l7 = new SphericalMercatorHorizontalScaler();
|
|
70
72
|
let b = ((() => {
|
|
71
73
|
let $ret = new NumericYAxis();
|
|
72
74
|
$ret.bh = this;
|
|
73
75
|
return $ret;
|
|
74
76
|
})());
|
|
75
|
-
b.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
77
|
+
b.ca = true;
|
|
78
|
+
this.p5 = b;
|
|
79
|
+
this.p5.l7 = new SphericalMercatorVerticalScaler();
|
|
80
|
+
this.ra();
|
|
81
|
+
this.rh();
|
|
82
|
+
this.jn();
|
|
81
83
|
}
|
|
82
84
|
provideContainer(a) {
|
|
83
85
|
super.provideContainer(a);
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
+
this.p3.provideRenderer(a);
|
|
87
|
+
this.p5.provideRenderer(a);
|
|
86
88
|
}
|
|
87
|
-
|
|
88
|
-
super.
|
|
89
|
-
this.
|
|
89
|
+
jn() {
|
|
90
|
+
super.jn();
|
|
91
|
+
this.qf.fq(this.fh);
|
|
90
92
|
}
|
|
91
|
-
|
|
92
|
-
return this.
|
|
93
|
+
d4() {
|
|
94
|
+
return this.ql;
|
|
93
95
|
}
|
|
94
|
-
|
|
95
|
-
return this.
|
|
96
|
+
d5() {
|
|
97
|
+
return this.ql;
|
|
96
98
|
}
|
|
97
|
-
|
|
98
|
-
if (this.
|
|
99
|
-
if (this.
|
|
99
|
+
qc() {
|
|
100
|
+
if (this.qa == 0) {
|
|
101
|
+
if (this.qh) {
|
|
100
102
|
return 2;
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
return 1;
|
|
104
106
|
}
|
|
105
|
-
get
|
|
106
|
-
return this.
|
|
107
|
+
get qb() {
|
|
108
|
+
return this.p9;
|
|
107
109
|
}
|
|
108
|
-
set
|
|
109
|
-
this.
|
|
110
|
+
set qb(a) {
|
|
111
|
+
this.p9 = a;
|
|
110
112
|
}
|
|
111
|
-
get
|
|
112
|
-
return this.
|
|
113
|
+
get r4() {
|
|
114
|
+
return this.rz;
|
|
113
115
|
}
|
|
114
|
-
set
|
|
115
|
-
let b = Rect.l_op_Inequality(this.
|
|
116
|
+
set r4(a) {
|
|
117
|
+
let b = Rect.l_op_Inequality(this.rz, a);
|
|
116
118
|
if (b) {
|
|
117
|
-
let c = this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
119
|
+
let c = this.rz;
|
|
120
|
+
this.rz = a;
|
|
121
|
+
this.ll("ActualWorldRect", c, a);
|
|
120
122
|
}
|
|
121
123
|
}
|
|
122
|
-
|
|
123
|
-
return this.
|
|
124
|
+
r8() {
|
|
125
|
+
return this.r4;
|
|
124
126
|
}
|
|
125
|
-
|
|
126
|
-
if (this.
|
|
127
|
+
ra() {
|
|
128
|
+
if (this.sg.isEmpty) {
|
|
127
129
|
return;
|
|
128
130
|
}
|
|
129
|
-
this.
|
|
131
|
+
this.r4 = this.se(this.sg, this.by == 1);
|
|
130
132
|
}
|
|
131
|
-
|
|
133
|
+
se(a, b) {
|
|
132
134
|
let c = a.top;
|
|
133
135
|
let d = a.left;
|
|
134
136
|
let e = a.width;
|
|
@@ -136,25 +138,25 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
136
138
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
137
139
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
138
140
|
let i = g - h;
|
|
139
|
-
let j = a.width / XamGeographicMap.
|
|
140
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
141
|
+
let j = a.width / XamGeographicMap.r0.width;
|
|
142
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.r0.top);
|
|
141
143
|
let l = i / j;
|
|
142
|
-
if (i / j > this.
|
|
143
|
-
let m = i / this.
|
|
144
|
+
if (i / j > this.qo) {
|
|
145
|
+
let m = i / this.qo;
|
|
144
146
|
let n = m - j;
|
|
145
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
146
|
-
e = m * XamGeographicMap.
|
|
147
|
+
d = d - (n / 2) * XamGeographicMap.r0.width;
|
|
148
|
+
e = m * XamGeographicMap.r0.width;
|
|
147
149
|
if (b) {
|
|
148
|
-
if (d < XamGeographicMap.
|
|
149
|
-
d += (XamGeographicMap.
|
|
150
|
+
if (d < XamGeographicMap.r0.left) {
|
|
151
|
+
d += (XamGeographicMap.r0.left - d);
|
|
150
152
|
}
|
|
151
|
-
else if ((d + e) > XamGeographicMap.
|
|
152
|
-
d -= ((d + e) - XamGeographicMap.
|
|
153
|
+
else if ((d + e) > XamGeographicMap.r0.right) {
|
|
154
|
+
d -= ((d + e) - XamGeographicMap.r0.right);
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
}
|
|
156
|
-
else if (i / j < this.
|
|
157
|
-
let o = this.
|
|
158
|
+
else if (i / j < this.qo) {
|
|
159
|
+
let o = this.qo * j;
|
|
158
160
|
let p = o - i;
|
|
159
161
|
let q = h - (p / 2);
|
|
160
162
|
let r = g + (p / 2);
|
|
@@ -163,9 +165,9 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
163
165
|
q += (k - q);
|
|
164
166
|
r += (k - q);
|
|
165
167
|
}
|
|
166
|
-
else if (r > (k + this.
|
|
167
|
-
q -= ((r) - (k + this.
|
|
168
|
-
r -= ((r) - (k + this.
|
|
168
|
+
else if (r > (k + this.qo)) {
|
|
169
|
+
q -= ((r) - (k + this.qo));
|
|
170
|
+
r -= ((r) - (k + this.qo));
|
|
169
171
|
}
|
|
170
172
|
}
|
|
171
173
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -175,76 +177,76 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
175
177
|
return s;
|
|
176
178
|
}
|
|
177
179
|
get backgroundContent() {
|
|
178
|
-
return this.
|
|
180
|
+
return this.p6;
|
|
179
181
|
}
|
|
180
182
|
set backgroundContent(a) {
|
|
181
183
|
let b = a != this.backgroundContent;
|
|
182
184
|
if (b) {
|
|
183
185
|
let c = this.backgroundContent;
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
+
this.p6 = a;
|
|
187
|
+
this.ll("BackgroundContent", c, a);
|
|
186
188
|
}
|
|
187
189
|
}
|
|
188
|
-
get
|
|
189
|
-
return this.
|
|
190
|
+
get p3() {
|
|
191
|
+
return this.p2;
|
|
190
192
|
}
|
|
191
|
-
set
|
|
192
|
-
let b = a != this.
|
|
193
|
+
set p3(a) {
|
|
194
|
+
let b = a != this.p3;
|
|
193
195
|
if (b) {
|
|
194
|
-
let c = this.
|
|
195
|
-
this.
|
|
196
|
-
this.
|
|
196
|
+
let c = this.p3;
|
|
197
|
+
this.p2 = a;
|
|
198
|
+
this.ll("XAxis", c, a);
|
|
197
199
|
}
|
|
198
200
|
}
|
|
199
|
-
get
|
|
200
|
-
return this.
|
|
201
|
+
get p5() {
|
|
202
|
+
return this.p4;
|
|
201
203
|
}
|
|
202
|
-
set
|
|
203
|
-
let b = a != this.
|
|
204
|
+
set p5(a) {
|
|
205
|
+
let b = a != this.p5;
|
|
204
206
|
if (b) {
|
|
205
|
-
let c = this.
|
|
206
|
-
this.
|
|
207
|
-
this.
|
|
207
|
+
let c = this.p5;
|
|
208
|
+
this.p4 = a;
|
|
209
|
+
this.ll("YAxis", c, a);
|
|
208
210
|
}
|
|
209
211
|
}
|
|
210
212
|
getZoomRectFromGeoRect(a) {
|
|
211
213
|
return this.getZoomFromGeographicRect(a);
|
|
212
214
|
}
|
|
213
|
-
|
|
214
|
-
this.
|
|
215
|
+
rk(a) {
|
|
216
|
+
this.pw = a;
|
|
215
217
|
}
|
|
216
|
-
|
|
217
|
-
this.
|
|
218
|
+
rj(a) {
|
|
219
|
+
this.sg = a;
|
|
218
220
|
}
|
|
219
221
|
getZoomFromGeographicRect(a) {
|
|
220
|
-
return this.
|
|
222
|
+
return this.r6(a, true, 0);
|
|
221
223
|
}
|
|
222
|
-
|
|
223
|
-
return this.
|
|
224
|
+
r5(a, b) {
|
|
225
|
+
return this.r6(a, false, b);
|
|
224
226
|
}
|
|
225
|
-
|
|
227
|
+
r6(a, b, c) {
|
|
226
228
|
let d = a;
|
|
227
229
|
if (b) {
|
|
228
|
-
d = this.
|
|
229
|
-
}
|
|
230
|
-
let e = this.
|
|
231
|
-
let f = this.
|
|
232
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
233
|
-
g.c = this.
|
|
234
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
235
|
-
h.c = this.
|
|
236
|
-
let i = this.
|
|
237
|
-
let j = this.
|
|
238
|
-
let k = this.
|
|
239
|
-
let l = this.
|
|
240
|
-
let m = (i - c) / this.
|
|
241
|
-
let n = (l - c) / this.
|
|
242
|
-
let o = (j - i + (c * 2)) / this.
|
|
243
|
-
let p = (k - l + (c * 2)) / this.
|
|
230
|
+
d = this.se(a, false);
|
|
231
|
+
}
|
|
232
|
+
let e = this.p3;
|
|
233
|
+
let f = this.p5;
|
|
234
|
+
let g = new ScalerParams(1, XamGeographicMap.r3, this.pv, e.cc);
|
|
235
|
+
g.c = this.pk;
|
|
236
|
+
let h = new ScalerParams(1, XamGeographicMap.r3, this.pv, f.cc);
|
|
237
|
+
h.c = this.pk;
|
|
238
|
+
let i = this.p3.d8(d.left, g);
|
|
239
|
+
let j = this.p3.d8(d.right, g);
|
|
240
|
+
let k = this.p5.d8(d.top, h);
|
|
241
|
+
let l = this.p5.d8(d.bottom, h);
|
|
242
|
+
let m = (i - c) / this.pv.width;
|
|
243
|
+
let n = (l - c) / this.pv.height;
|
|
244
|
+
let o = (j - i + (c * 2)) / this.pv.width;
|
|
245
|
+
let p = (k - l + (c * 2)) / this.pv.height;
|
|
244
246
|
let q = new Rect(0, m, n, o, p);
|
|
245
|
-
q.intersect(XamGeographicMap.
|
|
247
|
+
q.intersect(XamGeographicMap.r3);
|
|
246
248
|
if (q.isEmpty) {
|
|
247
|
-
q = XamGeographicMap.
|
|
249
|
+
q = XamGeographicMap.r3;
|
|
248
250
|
}
|
|
249
251
|
return q;
|
|
250
252
|
}
|
|
@@ -254,194 +256,188 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
254
256
|
let e = b.x - a.x;
|
|
255
257
|
let f = a.y - b.y;
|
|
256
258
|
if (e < 0 || f < 0) {
|
|
257
|
-
return XamGeographicMap.
|
|
259
|
+
return XamGeographicMap.r3;
|
|
258
260
|
}
|
|
259
261
|
else {
|
|
260
262
|
let g = new Rect(0, c, d, e, f);
|
|
261
263
|
return this.getZoomFromGeographicRect(g);
|
|
262
264
|
}
|
|
263
265
|
}
|
|
264
|
-
|
|
265
|
-
let b = this.
|
|
266
|
-
let c = this.
|
|
267
|
-
let d = new ScalerParams(1, a, this.
|
|
268
|
-
d.c = this.
|
|
269
|
-
let e = new ScalerParams(1, a, this.
|
|
270
|
-
e.c = this.
|
|
271
|
-
let f = this.
|
|
272
|
-
let g = b.
|
|
273
|
-
let h = c.
|
|
274
|
-
let i = b.
|
|
275
|
-
let j = c.
|
|
266
|
+
sa(a) {
|
|
267
|
+
let b = this.p3;
|
|
268
|
+
let c = this.p5;
|
|
269
|
+
let d = new ScalerParams(1, a, this.pv, b.cc);
|
|
270
|
+
d.c = this.pk;
|
|
271
|
+
let e = new ScalerParams(1, a, this.pv, c.cc);
|
|
272
|
+
e.c = this.pk;
|
|
273
|
+
let f = this.pj;
|
|
274
|
+
let g = b.eb(f.left, d);
|
|
275
|
+
let h = c.eb(f.top, e);
|
|
276
|
+
let i = b.eb(f.right, d);
|
|
277
|
+
let j = c.eb(f.bottom, e);
|
|
276
278
|
let k = i - g;
|
|
277
279
|
let l = h - j;
|
|
278
280
|
let m = new Rect(0, g, j, k, l);
|
|
279
|
-
if (this.
|
|
280
|
-
m.intersect(XamGeographicMap.
|
|
281
|
+
if (this.by == 1) {
|
|
282
|
+
m.intersect(XamGeographicMap.r0);
|
|
281
283
|
if (m.isEmpty) {
|
|
282
|
-
m = XamGeographicMap.
|
|
284
|
+
m = XamGeographicMap.r0;
|
|
283
285
|
}
|
|
284
286
|
}
|
|
285
287
|
return m;
|
|
286
288
|
}
|
|
287
|
-
|
|
288
|
-
let b = this.
|
|
289
|
-
let c = this.
|
|
289
|
+
rw(a) {
|
|
290
|
+
let b = this.p3.k6(a.x);
|
|
291
|
+
let c = this.p5.k6(a.y);
|
|
290
292
|
return { $type: Point_$type, x: b, y: c };
|
|
291
293
|
}
|
|
292
|
-
|
|
293
|
-
let b = this.
|
|
294
|
-
let c = this.
|
|
294
|
+
rx(a) {
|
|
295
|
+
let b = this.p3.en(a.x);
|
|
296
|
+
let c = this.p5.en(a.y);
|
|
295
297
|
return { $type: Point_$type, x: b, y: c };
|
|
296
298
|
}
|
|
297
|
-
|
|
298
|
-
return this.
|
|
299
|
+
ry(a) {
|
|
300
|
+
return this.rx(a);
|
|
299
301
|
}
|
|
300
|
-
|
|
302
|
+
q7() {
|
|
301
303
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
302
304
|
if (a != null) {
|
|
303
305
|
a.clearTileCache();
|
|
304
306
|
}
|
|
305
307
|
}
|
|
306
|
-
|
|
307
|
-
}
|
|
308
|
-
oa(a) {
|
|
309
|
-
return this.pr.fu(a);
|
|
308
|
+
rd(a) {
|
|
310
309
|
}
|
|
311
|
-
|
|
312
|
-
return this.pr.fv(a);
|
|
313
|
-
}
|
|
314
|
-
eg() {
|
|
310
|
+
ep() {
|
|
315
311
|
return true;
|
|
316
312
|
}
|
|
317
|
-
|
|
318
|
-
this.
|
|
313
|
+
rf() {
|
|
314
|
+
this.qf.eb();
|
|
319
315
|
for (let a of fromEnum(this.series)) {
|
|
320
|
-
a.
|
|
316
|
+
a.l9();
|
|
321
317
|
}
|
|
322
318
|
}
|
|
323
|
-
|
|
324
|
-
if (this.
|
|
325
|
-
if (!this.
|
|
326
|
-
let a = this.
|
|
327
|
-
let b = this.
|
|
328
|
-
this.
|
|
319
|
+
ri() {
|
|
320
|
+
if (this.qe == 2) {
|
|
321
|
+
if (!this.pv.isEmpty && this.pv.width > 0 && this.pv.height > 0) {
|
|
322
|
+
let a = this.p3.k6(this.pv.left + (this.pv.width / 2));
|
|
323
|
+
let b = this.p5.k6(this.pv.top + (this.pv.height / 2));
|
|
324
|
+
this.rv = { $type: Point_$type, x: a, y: b };
|
|
329
325
|
}
|
|
330
326
|
}
|
|
331
327
|
else {
|
|
332
|
-
if (!this.
|
|
333
|
-
let c = this.
|
|
334
|
-
let d = this.
|
|
335
|
-
this.
|
|
328
|
+
if (!this.pv.isEmpty && this.pv.width > 0 && this.pv.height > 0) {
|
|
329
|
+
let c = this.p3.k6(this.pv.left);
|
|
330
|
+
let d = this.p5.k6(this.pv.top);
|
|
331
|
+
this.rv = { $type: Point_$type, x: c, y: d };
|
|
336
332
|
}
|
|
337
333
|
}
|
|
338
334
|
}
|
|
339
|
-
|
|
340
|
-
if (isNaN_(this.
|
|
341
|
-
this.
|
|
335
|
+
re() {
|
|
336
|
+
if (isNaN_(this.rv.x) || isNaN_(this.rv.y)) {
|
|
337
|
+
this.ri();
|
|
342
338
|
}
|
|
343
|
-
let a = this.
|
|
344
|
-
let b = this.
|
|
339
|
+
let a = this.rv.x;
|
|
340
|
+
let b = this.rv.y;
|
|
345
341
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
346
|
-
let c = this.
|
|
347
|
-
let d = this.
|
|
348
|
-
let e = this.
|
|
349
|
-
let f = this.
|
|
350
|
-
if (e > this.
|
|
342
|
+
let c = this.pg.left;
|
|
343
|
+
let d = this.pg.top;
|
|
344
|
+
let e = this.pg.width;
|
|
345
|
+
let f = this.pg.height;
|
|
346
|
+
if (e > this.r2.width) {
|
|
351
347
|
}
|
|
352
348
|
else {
|
|
353
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
354
|
-
g.c = this.
|
|
355
|
-
let h = this.
|
|
356
|
-
if (this.
|
|
357
|
-
let i = h / this.
|
|
349
|
+
let g = new ScalerParams(1, XamGeographicMap.r3, this.pv, this.p3.cc);
|
|
350
|
+
g.c = this.pk;
|
|
351
|
+
let h = this.p3.d8(a, g);
|
|
352
|
+
if (this.qe == 2) {
|
|
353
|
+
let i = h / this.pv.width;
|
|
358
354
|
c = i - (e / 2);
|
|
359
355
|
}
|
|
360
356
|
else {
|
|
361
|
-
c = h / this.
|
|
357
|
+
c = h / this.pv.width;
|
|
362
358
|
}
|
|
363
|
-
if (c + e > this.
|
|
364
|
-
c = this.
|
|
359
|
+
if (c + e > this.r2.right) {
|
|
360
|
+
c = this.r2.right - e;
|
|
365
361
|
}
|
|
366
|
-
else if (c < this.
|
|
367
|
-
c = this.
|
|
362
|
+
else if (c < this.r2.left) {
|
|
363
|
+
c = this.r2.left;
|
|
368
364
|
}
|
|
369
365
|
}
|
|
370
|
-
if (f > this.
|
|
366
|
+
if (f > this.r2.height) {
|
|
371
367
|
}
|
|
372
368
|
else {
|
|
373
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
374
|
-
j.c = this.
|
|
375
|
-
let k = this.
|
|
376
|
-
if (this.
|
|
377
|
-
let l = k / this.
|
|
369
|
+
let j = new ScalerParams(1, XamGeographicMap.r3, this.pv, this.p5.cc);
|
|
370
|
+
j.c = this.pk;
|
|
371
|
+
let k = this.p5.d8(b, j);
|
|
372
|
+
if (this.qe == 2) {
|
|
373
|
+
let l = k / this.pv.height;
|
|
378
374
|
d = l - (f / 2);
|
|
379
375
|
}
|
|
380
376
|
else {
|
|
381
|
-
d = k / this.
|
|
377
|
+
d = k / this.pv.height;
|
|
382
378
|
}
|
|
383
|
-
if (d + f > this.
|
|
384
|
-
d = this.
|
|
379
|
+
if (d + f > this.r2.bottom) {
|
|
380
|
+
d = this.r2.bottom - f;
|
|
385
381
|
}
|
|
386
|
-
else if (d < this.
|
|
387
|
-
d = this.
|
|
382
|
+
else if (d < this.r2.top) {
|
|
383
|
+
d = this.r2.top;
|
|
388
384
|
}
|
|
389
385
|
}
|
|
390
|
-
this.
|
|
386
|
+
this.ms(new Rect(0, c, d, e, f), false);
|
|
391
387
|
}
|
|
392
388
|
}
|
|
393
|
-
|
|
389
|
+
get_dx() {
|
|
394
390
|
return true;
|
|
395
391
|
}
|
|
396
|
-
|
|
397
|
-
let a = super.
|
|
398
|
-
if (this.
|
|
392
|
+
ph() {
|
|
393
|
+
let a = super.ph();
|
|
394
|
+
if (this.p3 == null || this.p5 == null) {
|
|
399
395
|
return a;
|
|
400
396
|
}
|
|
401
|
-
this.
|
|
397
|
+
this.pr();
|
|
402
398
|
let b = a.left;
|
|
403
399
|
let c = a.top;
|
|
404
|
-
if (this.
|
|
405
|
-
if (this.
|
|
406
|
-
b = 0.5 - (this.
|
|
400
|
+
if (this.by == 1) {
|
|
401
|
+
if (this.pw.width > this.r2.width) {
|
|
402
|
+
b = 0.5 - (this.pw.width / 2);
|
|
407
403
|
}
|
|
408
|
-
else if (b + a.width > this.
|
|
409
|
-
b = this.
|
|
404
|
+
else if (b + a.width > this.r2.right) {
|
|
405
|
+
b = this.r2.right - this.pw.width;
|
|
410
406
|
}
|
|
411
|
-
else if (b < this.
|
|
412
|
-
b = this.
|
|
407
|
+
else if (b < this.r2.left) {
|
|
408
|
+
b = this.r2.left;
|
|
413
409
|
}
|
|
414
|
-
if (this.
|
|
415
|
-
c = 0.5 - (this.
|
|
410
|
+
if (this.pw.height > this.r2.height) {
|
|
411
|
+
c = 0.5 - (this.pw.height / 2);
|
|
416
412
|
}
|
|
417
|
-
else if (c + this.
|
|
418
|
-
c = this.
|
|
413
|
+
else if (c + this.pw.height > this.r2.bottom) {
|
|
414
|
+
c = this.r2.bottom - this.pw.height;
|
|
419
415
|
}
|
|
420
|
-
else if (c < this.
|
|
421
|
-
c = this.
|
|
416
|
+
else if (c < this.r2.top) {
|
|
417
|
+
c = this.r2.top;
|
|
422
418
|
}
|
|
423
419
|
}
|
|
424
420
|
let d = false;
|
|
425
|
-
if (!this.
|
|
421
|
+
if (!this.qk && this.by == 2 && this.qh) {
|
|
426
422
|
if (b > 1) {
|
|
427
423
|
b = (b - Math.floor(b)) + 1;
|
|
428
424
|
}
|
|
429
425
|
if (b < 0) {
|
|
430
426
|
b = 0 - (Math.ceil(b) - b);
|
|
431
427
|
}
|
|
432
|
-
if ((a.right - this.
|
|
433
|
-
b = this.
|
|
428
|
+
if ((a.right - this.r2.right) > 0 && ((a.right - this.r2.right) / a.width) > 0.8) {
|
|
429
|
+
b = this.r2.left - (a.width - (a.right - this.r2.right));
|
|
434
430
|
d = true;
|
|
435
431
|
}
|
|
436
|
-
else if (a.left < this.
|
|
437
|
-
b = this.
|
|
432
|
+
else if (a.left < this.r2.left && (Math.abs(a.left - this.r2.left) / a.width) > 0.8) {
|
|
433
|
+
b = this.r2.right - (Math.abs(a.left - this.r2.left));
|
|
438
434
|
d = true;
|
|
439
435
|
}
|
|
440
436
|
}
|
|
441
437
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
442
|
-
if (this.
|
|
443
|
-
let f = this.
|
|
444
|
-
f = this.
|
|
438
|
+
if (this.qk) {
|
|
439
|
+
let f = this.r5(this.sg, 1);
|
|
440
|
+
f = this.r7(f);
|
|
445
441
|
let g = e.left + e.width / 2;
|
|
446
442
|
let h = e.top + e.height / 2;
|
|
447
443
|
if (e.width > f.width) {
|
|
@@ -476,17 +472,17 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
476
472
|
}
|
|
477
473
|
}
|
|
478
474
|
if (d) {
|
|
479
|
-
this.
|
|
480
|
-
this.
|
|
481
|
-
this.
|
|
475
|
+
this.dj = true;
|
|
476
|
+
this.pw = e;
|
|
477
|
+
this.dj = false;
|
|
482
478
|
}
|
|
483
479
|
return e;
|
|
484
480
|
}
|
|
485
|
-
|
|
481
|
+
i1(a, b) {
|
|
486
482
|
let c = true;
|
|
487
483
|
let d = true;
|
|
488
484
|
let e = 0;
|
|
489
|
-
let f = this.
|
|
485
|
+
let f = this.pr();
|
|
490
486
|
let g = 0;
|
|
491
487
|
let h = 0;
|
|
492
488
|
if ((a.right - f.right) > 0) {
|
|
@@ -503,39 +499,39 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
503
499
|
}
|
|
504
500
|
if (c) {
|
|
505
501
|
if (d) {
|
|
506
|
-
let i = this.
|
|
507
|
-
let j = this.
|
|
502
|
+
let i = this.p2.d8(-180, b);
|
|
503
|
+
let j = this.p2.d8(180, b);
|
|
508
504
|
e = j - i;
|
|
509
505
|
}
|
|
510
506
|
else {
|
|
511
|
-
let k = this.
|
|
512
|
-
let l = this.
|
|
507
|
+
let k = this.p2.d8(-180, b);
|
|
508
|
+
let l = this.p2.d8(180, b);
|
|
513
509
|
e = k - l;
|
|
514
510
|
}
|
|
515
511
|
}
|
|
516
512
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
517
513
|
}
|
|
518
|
-
|
|
519
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
520
|
-
a.c = this.
|
|
521
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
522
|
-
b.c = this.
|
|
523
|
-
let c = this.
|
|
524
|
-
let d = this.
|
|
525
|
-
let e = this.
|
|
526
|
-
let f = this.
|
|
527
|
-
this.
|
|
528
|
-
return this.
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
let b = this.
|
|
514
|
+
pr() {
|
|
515
|
+
let a = new ScalerParams(1, XamGeographicMap.r3, this.pv, this.p3.cc);
|
|
516
|
+
a.c = this.pk;
|
|
517
|
+
let b = new ScalerParams(1, XamGeographicMap.r3, this.pv, this.p5.cc);
|
|
518
|
+
b.c = this.pk;
|
|
519
|
+
let c = this.p3.d8(XamGeographicMap.r0.left, a);
|
|
520
|
+
let d = this.p3.d8(XamGeographicMap.r0.right, a);
|
|
521
|
+
let e = this.p5.d8(XamGeographicMap.r0.top, b);
|
|
522
|
+
let f = this.p5.d8(XamGeographicMap.r0.bottom, b);
|
|
523
|
+
this.r2 = new Rect(0, c / this.pv.width, f / this.pv.height, (d - c) / this.pv.width, (e - f) / this.pv.height);
|
|
524
|
+
return this.r2;
|
|
525
|
+
}
|
|
526
|
+
r7(a) {
|
|
527
|
+
let b = this.f5;
|
|
532
528
|
let c = 0.5 * (a.left + a.right);
|
|
533
529
|
let d = 0.5 * (a.top + a.bottom);
|
|
534
530
|
let e = a.width;
|
|
535
531
|
let f = a.height;
|
|
536
532
|
let g = MathUtil.b(a.width, b, 1);
|
|
537
533
|
let h = MathUtil.b(a.height, b, 1);
|
|
538
|
-
let i = this.
|
|
534
|
+
let i = this.pv;
|
|
539
535
|
let j = i.width / i.height;
|
|
540
536
|
let k = g * i.width;
|
|
541
537
|
let l = h * i.height;
|
|
@@ -574,8 +570,8 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
574
570
|
}
|
|
575
571
|
return new Rect(0, p, q, r - p, s - q);
|
|
576
572
|
}
|
|
577
|
-
|
|
578
|
-
super.
|
|
573
|
+
pi(a) {
|
|
574
|
+
super.pi(this.pv);
|
|
579
575
|
if (a.isEmpty) {
|
|
580
576
|
return Rect.empty;
|
|
581
577
|
}
|
|
@@ -590,264 +586,263 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
590
586
|
}
|
|
591
587
|
return b;
|
|
592
588
|
}
|
|
593
|
-
|
|
594
|
-
return this.
|
|
589
|
+
r9(a) {
|
|
590
|
+
return this.pi(a);
|
|
595
591
|
}
|
|
596
|
-
|
|
592
|
+
ce() {
|
|
597
593
|
return new XamGeographicMapView(this);
|
|
598
594
|
}
|
|
599
|
-
|
|
600
|
-
return this.pr.ft(a);
|
|
601
|
-
}
|
|
602
|
-
oc(a) {
|
|
603
|
-
return this.pr.fw(a);
|
|
604
|
-
}
|
|
605
|
-
ql(a) {
|
|
595
|
+
q9(a) {
|
|
606
596
|
if (a != null) {
|
|
607
597
|
a.bh = this;
|
|
608
598
|
}
|
|
609
599
|
}
|
|
610
|
-
|
|
611
|
-
super.
|
|
612
|
-
this.
|
|
600
|
+
k5(a) {
|
|
601
|
+
super.k5(a);
|
|
602
|
+
this.qf = a;
|
|
613
603
|
}
|
|
614
|
-
|
|
615
|
-
super.
|
|
616
|
-
this.
|
|
617
|
-
this.
|
|
604
|
+
lg(a, b) {
|
|
605
|
+
super.lg(a, b);
|
|
606
|
+
this.mg(this.p3);
|
|
607
|
+
this.mg(this.p5);
|
|
618
608
|
if (Rect.l_op_Inequality(a, b)) {
|
|
619
|
-
this.
|
|
609
|
+
this.re();
|
|
620
610
|
}
|
|
621
|
-
if (this.
|
|
622
|
-
this.
|
|
611
|
+
if (this.qk) {
|
|
612
|
+
this.pg = this.ph();
|
|
623
613
|
}
|
|
624
|
-
this.
|
|
614
|
+
this.rl();
|
|
625
615
|
}
|
|
626
|
-
get
|
|
627
|
-
return this.
|
|
616
|
+
get qp() {
|
|
617
|
+
return this.qn;
|
|
628
618
|
}
|
|
629
|
-
set
|
|
630
|
-
let b = this.
|
|
631
|
-
this.
|
|
632
|
-
this.
|
|
619
|
+
set qp(a) {
|
|
620
|
+
let b = this.qn;
|
|
621
|
+
this.qn = a;
|
|
622
|
+
this.ll("ActualWindowScale", b, this.qn);
|
|
633
623
|
}
|
|
634
|
-
|
|
635
|
-
return this.
|
|
624
|
+
fn() {
|
|
625
|
+
return this.qp;
|
|
636
626
|
}
|
|
637
|
-
|
|
638
|
-
return this.
|
|
627
|
+
fo() {
|
|
628
|
+
return this.qp;
|
|
639
629
|
}
|
|
640
|
-
|
|
641
|
-
super.
|
|
642
|
-
let a = Math.min(this.
|
|
643
|
-
this.
|
|
630
|
+
mf() {
|
|
631
|
+
super.mf();
|
|
632
|
+
let a = Math.min(this.pg.width, this.pg.height);
|
|
633
|
+
this.qp = a;
|
|
644
634
|
}
|
|
645
|
-
|
|
646
|
-
return this.
|
|
635
|
+
ei() {
|
|
636
|
+
return this.qh;
|
|
647
637
|
}
|
|
648
|
-
|
|
649
|
-
if (this.
|
|
650
|
-
if (this.
|
|
638
|
+
bz() {
|
|
639
|
+
if (this.b0 == 0) {
|
|
640
|
+
if (this.qi) {
|
|
651
641
|
return 2;
|
|
652
642
|
}
|
|
653
643
|
}
|
|
654
|
-
return this.
|
|
644
|
+
return this.b0;
|
|
655
645
|
}
|
|
656
|
-
|
|
657
|
-
super.
|
|
646
|
+
lh(a, b, c, d) {
|
|
647
|
+
super.lh(a, b, c, d);
|
|
658
648
|
switch (b) {
|
|
659
649
|
case "ZoomCoercionMode":
|
|
660
|
-
this.
|
|
650
|
+
this.ra();
|
|
661
651
|
break;
|
|
662
652
|
case "WindowRect":
|
|
663
|
-
this.
|
|
653
|
+
this.ri();
|
|
664
654
|
break;
|
|
665
655
|
case XamGeographicMap.$$p[0]:
|
|
666
|
-
this.
|
|
667
|
-
if (this.
|
|
668
|
-
this.
|
|
656
|
+
this.qb = this.qc();
|
|
657
|
+
if (this.p8 != null) {
|
|
658
|
+
this.p8.isHorizontalWrappingEnabled = this.qb == 2;
|
|
669
659
|
}
|
|
670
660
|
break;
|
|
671
661
|
case XamGeographicMap.$$p[1]:
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
675
|
-
if (this.
|
|
676
|
-
this.
|
|
662
|
+
this.qh = this.qi;
|
|
663
|
+
this.qb = this.qc();
|
|
664
|
+
this.by = this.bz();
|
|
665
|
+
if (this.p8 != null) {
|
|
666
|
+
this.p8.isHorizontalWrappingEnabled = this.qb == 2;
|
|
677
667
|
}
|
|
678
668
|
break;
|
|
679
669
|
case XamGeographicMap.$$p[4]:
|
|
680
|
-
this.
|
|
670
|
+
this.pg = this.ph();
|
|
681
671
|
break;
|
|
682
672
|
case "BackgroundContent":
|
|
683
|
-
if (this.
|
|
684
|
-
let e = this.
|
|
685
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
686
|
-
this.
|
|
673
|
+
if (this.p8 != null) {
|
|
674
|
+
let e = this.p8;
|
|
675
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.rb));
|
|
676
|
+
this.p8.deferralHandler = null;
|
|
687
677
|
}
|
|
688
|
-
this.
|
|
689
|
-
if (this.
|
|
690
|
-
let f = this.
|
|
691
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
692
|
-
this.
|
|
693
|
-
this.
|
|
678
|
+
this.p8 = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
679
|
+
if (this.p8 != null) {
|
|
680
|
+
let f = this.p8;
|
|
681
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.rb));
|
|
682
|
+
this.p8.deferralHandler = this;
|
|
683
|
+
this.p8.isHorizontalWrappingEnabled = this.qb == 2;
|
|
694
684
|
}
|
|
695
|
-
this.
|
|
696
|
-
if (this.
|
|
697
|
-
this.
|
|
698
|
-
this.
|
|
699
|
-
this.
|
|
685
|
+
this.qf.fp(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
686
|
+
if (this.p8 != null) {
|
|
687
|
+
this.p8.geographicMap = this;
|
|
688
|
+
this.qf.fm(this.pg);
|
|
689
|
+
this.qf.fq(this.fh);
|
|
700
690
|
}
|
|
701
691
|
break;
|
|
702
692
|
case "YAxis":
|
|
703
693
|
case "XAxis":
|
|
704
|
-
this.
|
|
705
|
-
this.
|
|
694
|
+
this.rg(c);
|
|
695
|
+
this.q9(d);
|
|
706
696
|
break;
|
|
707
697
|
case XamGeographicMap.$$p[6]:
|
|
708
|
-
if (!this.
|
|
709
|
-
this.
|
|
698
|
+
if (!this.qj) {
|
|
699
|
+
this.pw = XamGeographicMap.r3;
|
|
710
700
|
}
|
|
711
|
-
this.
|
|
712
|
-
this.
|
|
713
|
-
this.
|
|
714
|
-
this.
|
|
715
|
-
this.
|
|
701
|
+
this.ra();
|
|
702
|
+
this.rh();
|
|
703
|
+
this.ri();
|
|
704
|
+
this.pg = this.ph();
|
|
705
|
+
this.qf.fn();
|
|
716
706
|
break;
|
|
717
707
|
case "ActualWindowRect":
|
|
718
|
-
this.
|
|
708
|
+
this.qf.fm(this.pg);
|
|
719
709
|
break;
|
|
720
710
|
case "ActualWorldRect":
|
|
721
711
|
for (let g of fromEnum(this.series)) {
|
|
722
|
-
g.
|
|
712
|
+
g.l0(false);
|
|
723
713
|
}
|
|
724
714
|
break;
|
|
725
715
|
case XamGeographicMap.$$p[5]:
|
|
726
|
-
this.
|
|
716
|
+
this.qp = this.qq;
|
|
727
717
|
break;
|
|
728
718
|
case "ActualWindowScale":
|
|
729
|
-
if (!this.
|
|
730
|
-
this.
|
|
719
|
+
if (!this.eo) {
|
|
720
|
+
this.mr(this.fn(), this.fo());
|
|
731
721
|
}
|
|
732
722
|
break;
|
|
733
723
|
case "ActualPixelScalingRatio":
|
|
734
|
-
this.
|
|
724
|
+
this.qf.fq(this.fh);
|
|
735
725
|
break;
|
|
736
726
|
case XamGeographicMap.$$p[7]:
|
|
737
|
-
this.
|
|
727
|
+
this.mn();
|
|
728
|
+
break;
|
|
729
|
+
case "MarkerAutomaticBehavior":
|
|
730
|
+
for (let h of fromEnum(this.series)) {
|
|
731
|
+
h.k2();
|
|
732
|
+
}
|
|
738
733
|
break;
|
|
739
734
|
}
|
|
740
735
|
}
|
|
741
|
-
|
|
736
|
+
rb(a, b) {
|
|
742
737
|
if (this.imageTilesReady != null) {
|
|
743
738
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
744
739
|
}
|
|
745
740
|
}
|
|
746
|
-
|
|
741
|
+
rg(a) {
|
|
747
742
|
if (a != null) {
|
|
748
743
|
a.bh = null;
|
|
749
744
|
}
|
|
750
745
|
}
|
|
751
|
-
|
|
752
|
-
if (this.
|
|
753
|
-
this.
|
|
754
|
-
this.
|
|
746
|
+
rh() {
|
|
747
|
+
if (this.p3 != null) {
|
|
748
|
+
this.p3.k3 = this.r4.left;
|
|
749
|
+
this.p3.k2 = this.r4.right;
|
|
755
750
|
}
|
|
756
|
-
if (this.
|
|
757
|
-
this.
|
|
758
|
-
this.
|
|
751
|
+
if (this.p5 != null) {
|
|
752
|
+
this.p5.k3 = this.r4.top;
|
|
753
|
+
this.p5.k2 = this.r4.bottom;
|
|
759
754
|
}
|
|
760
|
-
this.
|
|
761
|
-
this.
|
|
755
|
+
this.p3.cw(true);
|
|
756
|
+
this.p5.cw(true);
|
|
762
757
|
}
|
|
763
758
|
getFontInfo() {
|
|
764
|
-
this.
|
|
765
|
-
return this.
|
|
759
|
+
this.qg = this.qf.fj;
|
|
760
|
+
return this.qg;
|
|
766
761
|
}
|
|
767
|
-
|
|
768
|
-
return this.
|
|
762
|
+
os() {
|
|
763
|
+
return this.qf.fr;
|
|
769
764
|
}
|
|
770
765
|
getFontBrush() {
|
|
771
|
-
return this.
|
|
766
|
+
return this.qf.fs;
|
|
772
767
|
}
|
|
773
|
-
|
|
768
|
+
l8(a, b) {
|
|
774
769
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
775
770
|
let c = b;
|
|
776
771
|
let d = a;
|
|
777
772
|
d.itemsSource = c.triangulationSource.points;
|
|
778
|
-
d.
|
|
773
|
+
d.pt = c.triangulationSource.triangles;
|
|
779
774
|
}
|
|
780
775
|
else {
|
|
781
|
-
super.
|
|
776
|
+
super.l8(a, b);
|
|
782
777
|
}
|
|
783
778
|
}
|
|
784
779
|
register(a, b) {
|
|
785
|
-
this.
|
|
780
|
+
this.ly(a, b);
|
|
786
781
|
}
|
|
787
782
|
unRegister(a) {
|
|
788
|
-
this.
|
|
783
|
+
this.me(a);
|
|
789
784
|
}
|
|
790
785
|
deferredRefresh() {
|
|
791
|
-
this.
|
|
786
|
+
this.jb();
|
|
792
787
|
}
|
|
793
788
|
deferAction(a) {
|
|
794
|
-
if (this.
|
|
795
|
-
this.
|
|
789
|
+
if (this.qs != null) {
|
|
790
|
+
this.qs.setTimeout(a, 0);
|
|
796
791
|
}
|
|
797
792
|
else {
|
|
798
793
|
window.setTimeout(a, 0);
|
|
799
794
|
}
|
|
800
795
|
}
|
|
801
|
-
|
|
802
|
-
this.
|
|
796
|
+
q8(a) {
|
|
797
|
+
this.mm(a);
|
|
803
798
|
}
|
|
804
|
-
|
|
799
|
+
qt() {
|
|
805
800
|
let a = new ChartVisualData();
|
|
806
|
-
let b = this.
|
|
807
|
-
let c = this.
|
|
801
|
+
let b = this.p3.ff();
|
|
802
|
+
let c = this.p5.ff();
|
|
808
803
|
a.axes.add1(b);
|
|
809
804
|
a.axes.add1(c);
|
|
810
805
|
for (let d = 0; d < this.series.count; d++) {
|
|
811
|
-
let e = this.series._inner[d].
|
|
806
|
+
let e = this.series._inner[d].hg();
|
|
812
807
|
a.series.add1(e);
|
|
813
808
|
}
|
|
814
809
|
a.name = this.name;
|
|
815
|
-
a.contentArea = RectData.b(this.
|
|
816
|
-
a.centralArea = RectData.b(this.
|
|
817
|
-
a.plotArea = RectData.b(this.
|
|
810
|
+
a.contentArea = RectData.b(this.pv);
|
|
811
|
+
a.centralArea = RectData.b(this.pv);
|
|
812
|
+
a.plotArea = RectData.b(this.pv);
|
|
818
813
|
return a;
|
|
819
814
|
}
|
|
820
|
-
|
|
815
|
+
pn(a, b, c) {
|
|
821
816
|
return a;
|
|
822
817
|
}
|
|
823
|
-
|
|
818
|
+
rc() {
|
|
824
819
|
}
|
|
825
|
-
get
|
|
826
|
-
return this.
|
|
820
|
+
get sf() {
|
|
821
|
+
return this.r1;
|
|
827
822
|
}
|
|
828
|
-
set
|
|
829
|
-
this.
|
|
823
|
+
set sf(a) {
|
|
824
|
+
this.r1 = a;
|
|
830
825
|
}
|
|
831
|
-
|
|
832
|
-
this.
|
|
833
|
-
this.
|
|
826
|
+
rm(a) {
|
|
827
|
+
this.sf = a;
|
|
828
|
+
this.rl();
|
|
834
829
|
}
|
|
835
|
-
|
|
836
|
-
if (this.
|
|
837
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
838
|
-
this.
|
|
839
|
-
this.
|
|
830
|
+
rl() {
|
|
831
|
+
if (this.qm && !this.sf.isEmpty) {
|
|
832
|
+
let a = this.getZoomFromGeographicRect(this.sf);
|
|
833
|
+
this.sf = Rect.empty;
|
|
834
|
+
this.ms(a, false);
|
|
840
835
|
}
|
|
841
836
|
}
|
|
842
|
-
get
|
|
843
|
-
return !this.
|
|
837
|
+
get qm() {
|
|
838
|
+
return !this.pv.isEmpty && !this.pk.isEmpty;
|
|
844
839
|
}
|
|
845
840
|
}
|
|
846
841
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
847
|
-
XamGeographicMap.
|
|
848
|
-
XamGeographicMap.
|
|
849
|
-
XamGeographicMap.
|
|
850
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
842
|
+
XamGeographicMap.qd = 0;
|
|
843
|
+
XamGeographicMap.r0 = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
844
|
+
XamGeographicMap.r3 = new Rect(0, 0, 0, 1, 1);
|
|
845
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'll', ['BackgroundTilingMode:qa:rn', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:qi:ro', [0, false], 'ResizeBehavior:qe:rp', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.qd)], 'SuppressZoomResetOnWorldRectChange:qj:rq', [0, false], 'UseWorldRectForZoomBounds:qk:rr', [0, false], 'WindowScale:qq:rs', [1, NaN], 'WorldRect:sg:rt', [Rect.$, XamGeographicMap.r0], 'Zoomable:ql:ru', [0, true]]);
|
|
851
846
|
return XamGeographicMap;
|
|
852
847
|
})();
|
|
853
848
|
/**
|
|
@@ -977,20 +972,20 @@ export let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
977
972
|
return a;
|
|
978
973
|
}
|
|
979
974
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
980
|
-
let c = this.geographicMap.
|
|
981
|
-
let d = XamGeographicMap.
|
|
982
|
-
let e = this.geographicMap.
|
|
975
|
+
let c = this.geographicMap.r9(b);
|
|
976
|
+
let d = XamGeographicMap.r0;
|
|
977
|
+
let e = this.geographicMap.r4;
|
|
983
978
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
984
979
|
let g = e.width / d.width;
|
|
985
980
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
986
|
-
let h = this.geographicMap.
|
|
987
|
-
let i = this.geographicMap.
|
|
988
|
-
let j = new ScalerParams(1, this.windowRect, b, h.
|
|
981
|
+
let h = this.geographicMap.p3;
|
|
982
|
+
let i = this.geographicMap.p5;
|
|
983
|
+
let j = new ScalerParams(1, this.windowRect, b, h.cc);
|
|
989
984
|
j.c = c;
|
|
990
|
-
let k = new ScalerParams(1, this.windowRect, b, i.
|
|
985
|
+
let k = new ScalerParams(1, this.windowRect, b, i.cc);
|
|
991
986
|
k.c = c;
|
|
992
|
-
let l = h.
|
|
993
|
-
let m = i.
|
|
987
|
+
let l = h.d8(d.left, j);
|
|
988
|
+
let m = i.d8(d.bottom, k);
|
|
994
989
|
let n = (-l / b.width) * this.ao.a5;
|
|
995
990
|
let o = (-m / b.height) * this.ao.a5 * (b.height / b.width);
|
|
996
991
|
this.ao.cm = { $type: Point_$type, x: n, y: o };
|
|
@@ -1079,46 +1074,46 @@ export let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1079
1074
|
class GeographicXYTriangulatingSeriesView extends HostSeriesView {
|
|
1080
1075
|
constructor(a) {
|
|
1081
1076
|
super(a);
|
|
1082
|
-
this.
|
|
1083
|
-
this.
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
super.
|
|
1087
|
-
let a = this.
|
|
1088
|
-
a.
|
|
1089
|
-
a.
|
|
1090
|
-
a.trianglesSource = this.
|
|
1091
|
-
a.
|
|
1092
|
-
a.
|
|
1093
|
-
a.
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
let a = this.
|
|
1097
|
-
if (this.
|
|
1098
|
-
a.
|
|
1099
|
-
a.
|
|
1077
|
+
this.ce = null;
|
|
1078
|
+
this.ce = a;
|
|
1079
|
+
}
|
|
1080
|
+
b2() {
|
|
1081
|
+
super.b2();
|
|
1082
|
+
let a = this.ce.pk;
|
|
1083
|
+
a.qg = this.ce.pw;
|
|
1084
|
+
a.qk = this.ce.pu;
|
|
1085
|
+
a.trianglesSource = this.ce.pt;
|
|
1086
|
+
a.p8 = this.ce.pz;
|
|
1087
|
+
a.qa = this.ce.p1;
|
|
1088
|
+
a.qc = this.ce.p3;
|
|
1089
|
+
}
|
|
1090
|
+
ch() {
|
|
1091
|
+
let a = this.ce.pk;
|
|
1092
|
+
if (this.ce.ca == null) {
|
|
1093
|
+
a.pi = null;
|
|
1094
|
+
a.pj = null;
|
|
1100
1095
|
return;
|
|
1101
1096
|
}
|
|
1102
|
-
a.
|
|
1103
|
-
a.
|
|
1097
|
+
a.pi = this.ce.ca.p3;
|
|
1098
|
+
a.pj = this.ce.ca.p5;
|
|
1104
1099
|
}
|
|
1105
|
-
|
|
1106
|
-
this.
|
|
1100
|
+
cg() {
|
|
1101
|
+
this.ce.pk.qg = this.ce.pw;
|
|
1107
1102
|
}
|
|
1108
|
-
|
|
1109
|
-
this.
|
|
1103
|
+
cf() {
|
|
1104
|
+
this.ce.pk.qk = this.ce.pu;
|
|
1110
1105
|
}
|
|
1111
|
-
|
|
1112
|
-
this.
|
|
1106
|
+
ci() {
|
|
1107
|
+
this.ce.pk.trianglesSource = this.ce.pt;
|
|
1113
1108
|
}
|
|
1114
|
-
|
|
1115
|
-
this.
|
|
1109
|
+
cj() {
|
|
1110
|
+
this.ce.pk.p8 = this.ce.pz;
|
|
1116
1111
|
}
|
|
1117
|
-
|
|
1118
|
-
this.
|
|
1112
|
+
ck() {
|
|
1113
|
+
this.ce.pk.qa = this.ce.p1;
|
|
1119
1114
|
}
|
|
1120
|
-
|
|
1121
|
-
this.
|
|
1115
|
+
cl() {
|
|
1116
|
+
this.ce.pk.qc = this.ce.p3;
|
|
1122
1117
|
}
|
|
1123
1118
|
}
|
|
1124
1119
|
GeographicXYTriangulatingSeriesView.$t = markType(GeographicXYTriangulatingSeriesView, 'GeographicXYTriangulatingSeriesView', HostSeriesView.$);
|
|
@@ -1131,24 +1126,29 @@ export let GeographicScatterAreaSeriesView = /*@__PURE__*/ (() => {
|
|
|
1131
1126
|
class GeographicScatterAreaSeriesView extends GeographicXYTriangulatingSeriesView {
|
|
1132
1127
|
constructor(a) {
|
|
1133
1128
|
super(a);
|
|
1134
|
-
this.
|
|
1135
|
-
this.
|
|
1129
|
+
this.cm = null;
|
|
1130
|
+
this.cm = a;
|
|
1131
|
+
}
|
|
1132
|
+
as() {
|
|
1133
|
+
super.as();
|
|
1134
|
+
if (!this.q) {
|
|
1135
|
+
}
|
|
1136
1136
|
}
|
|
1137
|
-
|
|
1138
|
-
super.
|
|
1139
|
-
if (this.
|
|
1140
|
-
this.
|
|
1141
|
-
this.
|
|
1137
|
+
b2() {
|
|
1138
|
+
super.b2();
|
|
1139
|
+
if (this.cm.qe != null) {
|
|
1140
|
+
this.cm.qe.rb = this.cm.qi;
|
|
1141
|
+
this.cm.qe.q3 = this.cm.qd;
|
|
1142
1142
|
}
|
|
1143
1143
|
}
|
|
1144
|
-
|
|
1145
|
-
if (this.
|
|
1146
|
-
this.
|
|
1144
|
+
cn() {
|
|
1145
|
+
if (this.cm.qe != null) {
|
|
1146
|
+
this.cm.qe.rb = this.cm.qi;
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
|
-
|
|
1150
|
-
if (this.
|
|
1151
|
-
this.
|
|
1149
|
+
co() {
|
|
1150
|
+
if (this.cm.qe != null) {
|
|
1151
|
+
this.cm.qe.q3 = this.cm.qd;
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
@@ -1163,22 +1163,22 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1163
1163
|
constructor(a) {
|
|
1164
1164
|
super(a);
|
|
1165
1165
|
this.fi = null;
|
|
1166
|
-
this.
|
|
1166
|
+
this.fu = null;
|
|
1167
1167
|
this.fs = null;
|
|
1168
1168
|
this.fr = null;
|
|
1169
1169
|
this.fj = null;
|
|
1170
1170
|
this.fk = NaN;
|
|
1171
|
-
this.
|
|
1171
|
+
this.fu = Rect.empty;
|
|
1172
1172
|
this.fi = a;
|
|
1173
|
-
this.fi.
|
|
1174
|
-
this.fi.
|
|
1173
|
+
this.fi.on = 2;
|
|
1174
|
+
this.fi.f5 = 5E-06;
|
|
1175
1175
|
}
|
|
1176
1176
|
m(a) {
|
|
1177
1177
|
return 2;
|
|
1178
1178
|
}
|
|
1179
1179
|
bk(a) {
|
|
1180
1180
|
this.j.bv(a);
|
|
1181
|
-
this.fi.
|
|
1181
|
+
this.fi.q8(a);
|
|
1182
1182
|
this.ei();
|
|
1183
1183
|
}
|
|
1184
1184
|
get_ap() {
|
|
@@ -1199,34 +1199,21 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1199
1199
|
this.fs = c;
|
|
1200
1200
|
this.fj = d;
|
|
1201
1201
|
this.fr = e;
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
ft(a) {
|
|
1218
|
-
return ((() => {
|
|
1219
|
-
let $ret = new Brush();
|
|
1220
|
-
$ret.fill = "rgba(50,50,50,.5)";
|
|
1221
|
-
return $ret;
|
|
1222
|
-
})());
|
|
1223
|
-
}
|
|
1224
|
-
fw(a) {
|
|
1225
|
-
return ((() => {
|
|
1226
|
-
let $ret = new Brush();
|
|
1227
|
-
$ret.fill = "white";
|
|
1228
|
-
return $ret;
|
|
1229
|
-
})());
|
|
1202
|
+
let g = this.j.e();
|
|
1203
|
+
this.fi.ag = g.a;
|
|
1204
|
+
this.fi.aj = g.f;
|
|
1205
|
+
this.fi.ah = g.b != null ? g.b : new BrushCollection();
|
|
1206
|
+
this.fi.ai = g.c != null ? g.c : new BrushCollection();
|
|
1207
|
+
if (this.fi.ah.count == 0) {
|
|
1208
|
+
for (let h = 0; h < g.a.count; h++) {
|
|
1209
|
+
this.fi.ah.add(g.a.item(h));
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
if (g.c.count == 0) {
|
|
1213
|
+
for (let i = 0; i < g.f.count; i++) {
|
|
1214
|
+
this.fi.ai.add(g.f.item(i));
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1230
1217
|
}
|
|
1231
1218
|
dr(a) {
|
|
1232
1219
|
super.dr(a);
|
|
@@ -1238,14 +1225,14 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1238
1225
|
}
|
|
1239
1226
|
ds(a) {
|
|
1240
1227
|
super.ds(a);
|
|
1241
|
-
this.
|
|
1228
|
+
this.fu = a;
|
|
1242
1229
|
if (this.fi.backgroundContent != null) {
|
|
1243
1230
|
let b = this.fi.backgroundContent;
|
|
1244
|
-
b.bf(this.
|
|
1231
|
+
b.bf(this.fu);
|
|
1245
1232
|
}
|
|
1246
1233
|
}
|
|
1247
|
-
|
|
1248
|
-
return new Rect(0, 0, 0, this.
|
|
1234
|
+
ft() {
|
|
1235
|
+
return new Rect(0, 0, 0, this.fu.width, this.fu.height);
|
|
1249
1236
|
}
|
|
1250
1237
|
fn() {
|
|
1251
1238
|
if (this.fi.backgroundContent != null) {
|
|
@@ -1254,18 +1241,18 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1254
1241
|
}
|
|
1255
1242
|
}
|
|
1256
1243
|
fm(a) {
|
|
1257
|
-
if (this.fi.
|
|
1258
|
-
this.fi.
|
|
1244
|
+
if (this.fi.p8 != null) {
|
|
1245
|
+
this.fi.p8.windowRect = a;
|
|
1259
1246
|
}
|
|
1260
1247
|
}
|
|
1261
1248
|
fp(a, b) {
|
|
1262
|
-
if (this.fi.
|
|
1263
|
-
this.fi.
|
|
1249
|
+
if (this.fi.p8 != null) {
|
|
1250
|
+
this.fi.p8.windowRect = this.fi.pg;
|
|
1264
1251
|
}
|
|
1265
1252
|
if (a != null) {
|
|
1266
1253
|
let c = a.ao;
|
|
1267
1254
|
if (c != null) {
|
|
1268
|
-
this.fi.
|
|
1255
|
+
this.fi.al.e.remove(c.ag);
|
|
1269
1256
|
}
|
|
1270
1257
|
a.bd(null);
|
|
1271
1258
|
a.be(null);
|
|
@@ -1273,10 +1260,10 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1273
1260
|
if (b != null) {
|
|
1274
1261
|
let d = b.ao;
|
|
1275
1262
|
if (d != null) {
|
|
1276
|
-
this.fi.
|
|
1263
|
+
this.fi.al.e.add(d.ag);
|
|
1277
1264
|
}
|
|
1278
|
-
if (!this.
|
|
1279
|
-
this.ds(this.
|
|
1265
|
+
if (!this.fu.isEmpty) {
|
|
1266
|
+
this.ds(this.fu);
|
|
1280
1267
|
}
|
|
1281
1268
|
if (this.w != null) {
|
|
1282
1269
|
this.dr(this.w);
|
|
@@ -1287,21 +1274,21 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1287
1274
|
}
|
|
1288
1275
|
}
|
|
1289
1276
|
fo(a) {
|
|
1290
|
-
let b = this.fi.
|
|
1277
|
+
let b = this.fi.fh;
|
|
1291
1278
|
if (b != 1) {
|
|
1292
1279
|
a.z();
|
|
1293
1280
|
a.aa(b, b);
|
|
1294
1281
|
}
|
|
1295
|
-
a.k(this.
|
|
1282
|
+
a.k(this.fu.left, this.fu.top, this.fu.width, this.fu.height);
|
|
1296
1283
|
if (b != 1) {
|
|
1297
1284
|
a.y();
|
|
1298
1285
|
}
|
|
1299
1286
|
}
|
|
1300
1287
|
dy() {
|
|
1301
|
-
this.fa.ac =
|
|
1302
|
-
this.fb.ac =
|
|
1303
|
-
this.fa._stroke =
|
|
1304
|
-
this.fb._stroke =
|
|
1288
|
+
this.fa.ac = Defaults.j;
|
|
1289
|
+
this.fb.ac = Defaults.j;
|
|
1290
|
+
this.fa._stroke = Defaults.ae;
|
|
1291
|
+
this.fb._stroke = Defaults.ae;
|
|
1305
1292
|
super.dy();
|
|
1306
1293
|
}
|
|
1307
1294
|
fq(a) {
|
|
@@ -1356,42 +1343,42 @@ export let OpenStreetMapImagery = /*@__PURE__*/ (() => {
|
|
|
1356
1343
|
*/
|
|
1357
1344
|
export let GeographicXYTriangulatingSeries = /*@__PURE__*/ (() => {
|
|
1358
1345
|
class GeographicXYTriangulatingSeries extends GeographicMapSeriesHost {
|
|
1359
|
-
|
|
1346
|
+
bu() {
|
|
1360
1347
|
return new GeographicXYTriangulatingSeriesView(this);
|
|
1361
1348
|
}
|
|
1362
|
-
|
|
1363
|
-
super.
|
|
1364
|
-
this.
|
|
1349
|
+
lh(a) {
|
|
1350
|
+
super.lh(a);
|
|
1351
|
+
this.ps = a;
|
|
1365
1352
|
}
|
|
1366
|
-
|
|
1367
|
-
super.
|
|
1353
|
+
lm(a, b, c, d) {
|
|
1354
|
+
super.lm(a, b, c, d);
|
|
1368
1355
|
switch (b) {
|
|
1369
1356
|
case "SeriesViewer":
|
|
1370
|
-
this.
|
|
1357
|
+
this.ps.ch();
|
|
1371
1358
|
break;
|
|
1372
1359
|
case GeographicXYTriangulatingSeries.$$p[1]:
|
|
1373
|
-
this.
|
|
1360
|
+
this.ps.cg();
|
|
1374
1361
|
break;
|
|
1375
1362
|
case GeographicXYTriangulatingSeries.$$p[0]:
|
|
1376
|
-
this.
|
|
1363
|
+
this.ps.cf();
|
|
1377
1364
|
break;
|
|
1378
1365
|
case GeographicXYTriangulatingSeries.$$p[2]:
|
|
1379
|
-
this.
|
|
1366
|
+
this.ps.ci();
|
|
1380
1367
|
break;
|
|
1381
1368
|
case GeographicXYTriangulatingSeries.$$p[3]:
|
|
1382
|
-
this.
|
|
1369
|
+
this.ps.cj();
|
|
1383
1370
|
break;
|
|
1384
1371
|
case GeographicXYTriangulatingSeries.$$p[4]:
|
|
1385
|
-
this.
|
|
1372
|
+
this.ps.ck();
|
|
1386
1373
|
break;
|
|
1387
1374
|
case GeographicXYTriangulatingSeries.$$p[5]:
|
|
1388
|
-
this.
|
|
1375
|
+
this.ps.cl();
|
|
1389
1376
|
break;
|
|
1390
1377
|
}
|
|
1391
1378
|
}
|
|
1392
1379
|
}
|
|
1393
1380
|
GeographicXYTriangulatingSeries.$t = markType(GeographicXYTriangulatingSeries, 'GeographicXYTriangulatingSeries', GeographicMapSeriesHost.$);
|
|
1394
|
-
GeographicXYTriangulatingSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicXYTriangulatingSeries, 'raisePropertyChanged', ['LatitudeMemberPath:
|
|
1381
|
+
GeographicXYTriangulatingSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicXYTriangulatingSeries, 'raisePropertyChanged', ['LatitudeMemberPath:pu:p5', [2, "pointY"], 'LongitudeMemberPath:pw:p6', [2, "pointX"], 'TrianglesSource:pt:p7', [IEnumerable_$type, null], 'TriangleVertexMemberPath1:pz:p8', [2, "v1"], 'TriangleVertexMemberPath2:p1:p9', [2, "v2"], 'TriangleVertexMemberPath3:p3:qa', [2, "v3"]]);
|
|
1395
1382
|
return GeographicXYTriangulatingSeries;
|
|
1396
1383
|
})();
|
|
1397
1384
|
/**
|
|
@@ -1401,62 +1388,88 @@ export let GeographicScatterAreaSeries = /*@__PURE__*/ (() => {
|
|
|
1401
1388
|
class GeographicScatterAreaSeries extends GeographicXYTriangulatingSeries {
|
|
1402
1389
|
constructor() {
|
|
1403
1390
|
super();
|
|
1404
|
-
this.
|
|
1391
|
+
this.qb = null;
|
|
1405
1392
|
this.triangulationStatusChanged = null;
|
|
1406
1393
|
this.ab = GeographicScatterAreaSeries.$;
|
|
1407
1394
|
}
|
|
1408
|
-
|
|
1409
|
-
return
|
|
1395
|
+
get_c7() {
|
|
1396
|
+
return true;
|
|
1397
|
+
}
|
|
1398
|
+
get qd() {
|
|
1399
|
+
return this.qb;
|
|
1410
1400
|
}
|
|
1411
|
-
set
|
|
1412
|
-
let b = this.
|
|
1401
|
+
set qd(a) {
|
|
1402
|
+
let b = this.qb != a;
|
|
1413
1403
|
if (b) {
|
|
1414
|
-
let c = this.
|
|
1415
|
-
this.
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1404
|
+
let c = this.qb;
|
|
1405
|
+
if (this.qb != null) {
|
|
1406
|
+
let d = this.qb;
|
|
1407
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.ql));
|
|
1408
|
+
}
|
|
1409
|
+
this.qb = a;
|
|
1410
|
+
if (this.qb != null) {
|
|
1411
|
+
let e = this.qb;
|
|
1412
|
+
e.propertyChanged = delegateCombine(e.propertyChanged, runOn(this, this.ql));
|
|
1413
|
+
}
|
|
1414
|
+
this.raisePropertyChanged("ColorScale", c, this.qb);
|
|
1415
|
+
if (this.qe != null) {
|
|
1416
|
+
this.qe.q3 = a;
|
|
1419
1417
|
}
|
|
1420
1418
|
}
|
|
1421
1419
|
}
|
|
1422
|
-
|
|
1423
|
-
this.
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1420
|
+
ql(a, b) {
|
|
1421
|
+
this.qg.co();
|
|
1422
|
+
this.qn();
|
|
1423
|
+
this.l0(false);
|
|
1424
|
+
}
|
|
1425
|
+
qn() {
|
|
1426
|
+
if (this.qe != null) {
|
|
1427
|
+
this.qc = this.qe.q2;
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
md() {
|
|
1431
|
+
super.md();
|
|
1432
|
+
this.qn();
|
|
1433
|
+
}
|
|
1434
|
+
pj() {
|
|
1435
|
+
this.qe = new ScatterAreaSeries();
|
|
1436
|
+
let a = this.qe;
|
|
1437
|
+
a.triangulationStatusChanged = delegateCombine(a.triangulationStatusChanged, runOn(this, this.qm));
|
|
1438
|
+
return this.qe;
|
|
1427
1439
|
}
|
|
1428
|
-
|
|
1440
|
+
qm(a, b) {
|
|
1429
1441
|
if (this.triangulationStatusChanged != null) {
|
|
1430
1442
|
this.triangulationStatusChanged(this, b);
|
|
1431
1443
|
}
|
|
1432
1444
|
}
|
|
1433
|
-
|
|
1445
|
+
bu() {
|
|
1434
1446
|
return new GeographicScatterAreaSeriesView(this);
|
|
1435
1447
|
}
|
|
1436
|
-
|
|
1437
|
-
super.
|
|
1438
|
-
this.
|
|
1448
|
+
lh(a) {
|
|
1449
|
+
super.lh(a);
|
|
1450
|
+
this.qg = a;
|
|
1439
1451
|
}
|
|
1440
|
-
|
|
1441
|
-
super.
|
|
1452
|
+
lm(a, b, c, d) {
|
|
1453
|
+
super.lm(a, b, c, d);
|
|
1442
1454
|
switch (b) {
|
|
1443
|
-
case GeographicScatterAreaSeries.$$p[
|
|
1444
|
-
this.
|
|
1455
|
+
case GeographicScatterAreaSeries.$$p[1]:
|
|
1456
|
+
this.qg.cn();
|
|
1445
1457
|
break;
|
|
1446
1458
|
case "ColorScale":
|
|
1447
|
-
this.
|
|
1459
|
+
this.qg.co();
|
|
1460
|
+
this.qn();
|
|
1448
1461
|
break;
|
|
1449
1462
|
}
|
|
1450
1463
|
}
|
|
1451
|
-
|
|
1464
|
+
get_ex() {
|
|
1452
1465
|
return true;
|
|
1453
1466
|
}
|
|
1454
|
-
|
|
1455
|
-
super.
|
|
1467
|
+
set_ex(a) {
|
|
1468
|
+
super.set_ex(a);
|
|
1456
1469
|
}
|
|
1457
1470
|
}
|
|
1458
1471
|
GeographicScatterAreaSeries.$t = markType(GeographicScatterAreaSeries, 'GeographicScatterAreaSeries', GeographicXYTriangulatingSeries.$);
|
|
1459
|
-
GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ColorMemberPath:
|
|
1472
|
+
GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ActualColorScale:qc:qo', [ColorScale.$, null], 'ColorMemberPath:qi:qp', [2, "value"]]);
|
|
1460
1473
|
return GeographicScatterAreaSeries;
|
|
1461
1474
|
})();
|
|
1462
1475
|
//# sourceMappingURL=XamGeographicMap_combined.js.map
|