igniteui-angular-maps 12.1.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.
Files changed (466) hide show
  1. package/bundles/igniteui-angular-maps.umd.js +8030 -7665
  2. package/bundles/igniteui-angular-maps.umd.js.map +1 -1
  3. package/bundles/igniteui-angular-maps.umd.min.js +1 -1
  4. package/bundles/igniteui-angular-maps.umd.min.js.map +1 -1
  5. package/esm2015/lib/ArcGISOnlineMapImagery.js +190 -187
  6. package/esm2015/lib/BingMapsImageryStyle.js +4 -4
  7. package/esm2015/lib/BingMapsMapImageryView_combined.js +226 -220
  8. package/esm2015/lib/BingResourceSet.js +11 -8
  9. package/esm2015/lib/BingResponse.js +11 -8
  10. package/esm2015/lib/CustomMapImagery.js +18 -15
  11. package/esm2015/lib/GeographicContourLineSeriesView_combined.js +103 -76
  12. package/esm2015/lib/GeographicContourLineSeriesView_combined.js.map +1 -1
  13. package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +182 -158
  14. package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js.map +1 -1
  15. package/esm2015/lib/GeographicMapSeriesHost_combined.js +378 -280
  16. package/esm2015/lib/GeographicMapSeriesHost_combined.js.map +1 -1
  17. package/esm2015/lib/GeographicMarkerSeries.js +90 -0
  18. package/esm2015/lib/GeographicMarkerSeries.js.map +1 -0
  19. package/esm2015/lib/GeographicMarkerSeriesBase.js +18 -0
  20. package/esm2015/lib/GeographicMarkerSeriesBase.js.map +1 -0
  21. package/esm2015/lib/GeographicPolylineSeriesView_combined.js +69 -53
  22. package/esm2015/lib/GeographicPolylineSeriesView_combined.js.map +1 -1
  23. package/esm2015/lib/GeographicProportionalSymbolSeriesBase.js +8 -5
  24. package/esm2015/lib/GeographicProportionalSymbolSeriesBase.js.map +1 -1
  25. package/esm2015/lib/GeographicProportionalSymbolSeriesBaseView.js +11 -8
  26. package/esm2015/lib/GeographicProportionalSymbolSeriesBaseView.js.map +1 -1
  27. package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +230 -254
  28. package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js.map +1 -1
  29. package/esm2015/lib/GeographicShapeSeriesBaseBase.js +7 -4
  30. package/esm2015/lib/GeographicShapeSeriesBaseBaseView.js +11 -8
  31. package/esm2015/lib/GeographicShapeSeriesBase_combined.js +151 -165
  32. package/esm2015/lib/GeographicShapeSeriesBase_combined.js.map +1 -1
  33. package/esm2015/lib/GeographicShapeSeriesView_combined.js +152 -113
  34. package/esm2015/lib/GeographicShapeSeriesView_combined.js.map +1 -1
  35. package/esm2015/lib/GeographicSymbolSeriesBase.js +8 -5
  36. package/esm2015/lib/GeographicSymbolSeriesBase.js.map +1 -1
  37. package/esm2015/lib/GeographicSymbolSeriesBaseView.js +11 -8
  38. package/esm2015/lib/GeographicSymbolSeriesView_combined.js +162 -186
  39. package/esm2015/lib/GeographicSymbolSeriesView_combined.js.map +1 -1
  40. package/esm2015/lib/GeographicTileSeries.js +57 -51
  41. package/esm2015/lib/GeographicTileSeries.js.map +1 -1
  42. package/esm2015/lib/GeographicXYTriangulatingSeriesBase.js +7 -4
  43. package/esm2015/lib/GeographicXYTriangulatingSeriesBaseView.js +11 -8
  44. package/esm2015/lib/ImageTilesReadyEventArgs.js +7 -4
  45. package/esm2015/lib/ImageryMetadata.js +12 -9
  46. package/esm2015/lib/ImagesChangedEventArgs.js +7 -4
  47. package/esm2015/lib/LevelOfDetailResponseModel.js +30 -27
  48. package/esm2015/lib/MapBackgroundTilingMode.js +4 -4
  49. package/esm2015/lib/MapResizeBehavior.js +4 -4
  50. package/esm2015/lib/MapServerResponseModel.js +23 -20
  51. package/esm2015/lib/SphericalMercatorHorizontalScaler.js +106 -103
  52. package/esm2015/lib/SphericalMercatorVerticalScaler.js +162 -159
  53. package/esm2015/lib/SubDomainsCollection.js +21 -18
  54. package/esm2015/lib/TileGeneratorMapImagery.js +32 -29
  55. package/esm2015/lib/TileInfoResponseModel.js +16 -13
  56. package/esm2015/lib/TileSeries_combined.js +293 -270
  57. package/esm2015/lib/TileSeries_combined.js.map +1 -1
  58. package/esm2015/lib/TokenResponseModel.js +30 -27
  59. package/esm2015/lib/XamGeographicMap_combined.js +1286 -1246
  60. package/esm2015/lib/XamGeographicMap_combined.js.map +1 -1
  61. package/esm2015/lib/igx-arc-gis-online-map-imagery-dynamic-module.js +35 -30
  62. package/esm2015/lib/igx-arc-gis-online-map-imagery-dynamic-module.js.map +1 -1
  63. package/esm2015/lib/igx-arc-gis-online-map-imagery-module.js +27 -21
  64. package/esm2015/lib/igx-arc-gis-online-map-imagery-module.js.map +1 -1
  65. package/esm2015/lib/igx-arc-gis-online-map-imagery.js +3 -3
  66. package/esm2015/lib/igx-arc-gis-online-map-imagery.js.map +1 -1
  67. package/esm2015/lib/igx-bing-maps-map-imagery-dynamic-module.js +35 -30
  68. package/esm2015/lib/igx-bing-maps-map-imagery-dynamic-module.js.map +1 -1
  69. package/esm2015/lib/igx-bing-maps-map-imagery-module.js +27 -21
  70. package/esm2015/lib/igx-bing-maps-map-imagery-module.js.map +1 -1
  71. package/esm2015/lib/igx-custom-map-imagery-dynamic-module.js +35 -30
  72. package/esm2015/lib/igx-custom-map-imagery-dynamic-module.js.map +1 -1
  73. package/esm2015/lib/igx-custom-map-imagery-module.js +27 -21
  74. package/esm2015/lib/igx-custom-map-imagery-module.js.map +1 -1
  75. package/esm2015/lib/igx-custom-map-imagery.js +1 -7
  76. package/esm2015/lib/igx-custom-map-imagery.js.map +1 -1
  77. package/esm2015/lib/igx-geographic-contour-line-series-component.js +183 -158
  78. package/esm2015/lib/igx-geographic-contour-line-series-component.js.map +1 -1
  79. package/esm2015/lib/igx-geographic-contour-line-series-dynamic-module.js +35 -30
  80. package/esm2015/lib/igx-geographic-contour-line-series-dynamic-module.js.map +1 -1
  81. package/esm2015/lib/igx-geographic-contour-line-series-module.js +29 -23
  82. package/esm2015/lib/igx-geographic-contour-line-series-module.js.map +1 -1
  83. package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js +193 -221
  84. package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js.map +1 -1
  85. package/esm2015/lib/igx-geographic-high-density-scatter-series-dynamic-module.js +35 -30
  86. package/esm2015/lib/igx-geographic-high-density-scatter-series-dynamic-module.js.map +1 -1
  87. package/esm2015/lib/igx-geographic-high-density-scatter-series-module.js +29 -23
  88. package/esm2015/lib/igx-geographic-high-density-scatter-series-module.js.map +1 -1
  89. package/esm2015/lib/igx-geographic-map-component.js +641 -684
  90. package/esm2015/lib/igx-geographic-map-component.js.map +1 -1
  91. package/esm2015/lib/igx-geographic-map-core-dynamic-module.js +64 -42
  92. package/esm2015/lib/igx-geographic-map-core-dynamic-module.js.map +1 -1
  93. package/esm2015/lib/igx-geographic-map-core-module.js +57 -38
  94. package/esm2015/lib/igx-geographic-map-core-module.js.map +1 -1
  95. package/esm2015/lib/igx-geographic-map-dynamic-module.js +136 -69
  96. package/esm2015/lib/igx-geographic-map-dynamic-module.js.map +1 -1
  97. package/esm2015/lib/igx-geographic-map-imagery.js +1 -22
  98. package/esm2015/lib/igx-geographic-map-imagery.js.map +1 -1
  99. package/esm2015/lib/igx-geographic-map-module.js +129 -66
  100. package/esm2015/lib/igx-geographic-map-module.js.map +1 -1
  101. package/esm2015/lib/igx-geographic-map-series-host-component.js +168 -154
  102. package/esm2015/lib/igx-geographic-map-series-host-component.js.map +1 -1
  103. package/esm2015/lib/igx-geographic-marker-series-base-component.js +26 -0
  104. package/esm2015/lib/igx-geographic-marker-series-base-component.js.map +1 -0
  105. package/esm2015/lib/igx-geographic-marker-series-component.js +157 -0
  106. package/esm2015/lib/igx-geographic-marker-series-component.js.map +1 -0
  107. package/esm2015/lib/igx-geographic-polyline-series-component.js +123 -130
  108. package/esm2015/lib/igx-geographic-polyline-series-component.js.map +1 -1
  109. package/esm2015/lib/igx-geographic-polyline-series-dynamic-module.js +35 -30
  110. package/esm2015/lib/igx-geographic-polyline-series-dynamic-module.js.map +1 -1
  111. package/esm2015/lib/igx-geographic-polyline-series-module.js +29 -23
  112. package/esm2015/lib/igx-geographic-polyline-series-module.js.map +1 -1
  113. package/esm2015/lib/igx-geographic-proportional-symbol-series-base-component.js +26 -16
  114. package/esm2015/lib/igx-geographic-proportional-symbol-series-base-component.js.map +1 -1
  115. package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +327 -490
  116. package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js.map +1 -1
  117. package/esm2015/lib/igx-geographic-proportional-symbol-series-dynamic-module.js +35 -30
  118. package/esm2015/lib/igx-geographic-proportional-symbol-series-dynamic-module.js.map +1 -1
  119. package/esm2015/lib/igx-geographic-proportional-symbol-series-module.js +29 -23
  120. package/esm2015/lib/igx-geographic-proportional-symbol-series-module.js.map +1 -1
  121. package/esm2015/lib/igx-geographic-scatter-area-series-component.js +160 -125
  122. package/esm2015/lib/igx-geographic-scatter-area-series-component.js.map +1 -1
  123. package/esm2015/lib/igx-geographic-scatter-area-series-dynamic-module.js +35 -30
  124. package/esm2015/lib/igx-geographic-scatter-area-series-dynamic-module.js.map +1 -1
  125. package/esm2015/lib/igx-geographic-scatter-area-series-module.js +29 -23
  126. package/esm2015/lib/igx-geographic-scatter-area-series-module.js.map +1 -1
  127. package/esm2015/lib/igx-geographic-shape-series-base-base-component.js +26 -16
  128. package/esm2015/lib/igx-geographic-shape-series-base-base-component.js.map +1 -1
  129. package/esm2015/lib/igx-geographic-shape-series-base-component.js +249 -276
  130. package/esm2015/lib/igx-geographic-shape-series-base-component.js.map +1 -1
  131. package/esm2015/lib/igx-geographic-shape-series-component.js +250 -248
  132. package/esm2015/lib/igx-geographic-shape-series-component.js.map +1 -1
  133. package/esm2015/lib/igx-geographic-shape-series-dynamic-module.js +35 -30
  134. package/esm2015/lib/igx-geographic-shape-series-dynamic-module.js.map +1 -1
  135. package/esm2015/lib/igx-geographic-shape-series-module.js +29 -23
  136. package/esm2015/lib/igx-geographic-shape-series-module.js.map +1 -1
  137. package/esm2015/lib/igx-geographic-symbol-series-base-component.js +26 -16
  138. package/esm2015/lib/igx-geographic-symbol-series-base-component.js.map +1 -1
  139. package/esm2015/lib/igx-geographic-symbol-series-component.js +174 -310
  140. package/esm2015/lib/igx-geographic-symbol-series-component.js.map +1 -1
  141. package/esm2015/lib/igx-geographic-symbol-series-dynamic-module.js +35 -30
  142. package/esm2015/lib/igx-geographic-symbol-series-dynamic-module.js.map +1 -1
  143. package/esm2015/lib/igx-geographic-symbol-series-module.js +29 -23
  144. package/esm2015/lib/igx-geographic-symbol-series-module.js.map +1 -1
  145. package/esm2015/lib/igx-geographic-tile-series-component.js +102 -101
  146. package/esm2015/lib/igx-geographic-tile-series-component.js.map +1 -1
  147. package/esm2015/lib/igx-geographic-tile-series-dynamic-module.js +35 -30
  148. package/esm2015/lib/igx-geographic-tile-series-dynamic-module.js.map +1 -1
  149. package/esm2015/lib/igx-geographic-tile-series-module.js +29 -23
  150. package/esm2015/lib/igx-geographic-tile-series-module.js.map +1 -1
  151. package/esm2015/lib/igx-geographic-xy-triangulating-series-base-component.js +26 -16
  152. package/esm2015/lib/igx-geographic-xy-triangulating-series-base-component.js.map +1 -1
  153. package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js +118 -130
  154. package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js.map +1 -1
  155. package/esm2015/lib/igx-image-tiles-ready-event-args.js +5 -5
  156. package/esm2015/lib/igx-image-tiles-ready-event-args.js.map +1 -1
  157. package/esm2015/lib/igx-images-changed-event-args.js +5 -5
  158. package/esm2015/lib/igx-images-changed-event-args.js.map +1 -1
  159. package/esm2015/lib/igx-open-street-map-imagery-dynamic-module.js +35 -30
  160. package/esm2015/lib/igx-open-street-map-imagery-dynamic-module.js.map +1 -1
  161. package/esm2015/lib/igx-open-street-map-imagery-module.js +27 -21
  162. package/esm2015/lib/igx-open-street-map-imagery-module.js.map +1 -1
  163. package/esm2015/lib/igx-tile-generator-map-imagery-dynamic-module.js +35 -30
  164. package/esm2015/lib/igx-tile-generator-map-imagery-dynamic-module.js.map +1 -1
  165. package/esm2015/lib/igx-tile-generator-map-imagery-module.js +27 -21
  166. package/esm2015/lib/igx-tile-generator-map-imagery-module.js.map +1 -1
  167. package/esm2015/lib/igx-tile-series-component.js +74 -70
  168. package/esm2015/lib/igx-tile-series-component.js.map +1 -1
  169. package/esm2015/lib/igx-tile-series-dynamic-module.js +35 -30
  170. package/esm2015/lib/igx-tile-series-dynamic-module.js.map +1 -1
  171. package/esm2015/lib/igx-tile-series-module.js +28 -22
  172. package/esm2015/lib/igx-tile-series-module.js.map +1 -1
  173. package/esm2015/public_api.js +4 -0
  174. package/esm2015/public_api.js.map +1 -1
  175. package/esm5/lib/ArcGISOnlineMapImagery.js +12 -12
  176. package/esm5/lib/ArcGISOnlineMapImagery.js.map +1 -1
  177. package/esm5/lib/BingMapsImageryStyle.js +4 -4
  178. package/esm5/lib/BingMapsMapImageryView_combined.js +11 -11
  179. package/esm5/lib/BingMapsMapImageryView_combined.js.map +1 -1
  180. package/esm5/lib/BingResourceSet.js +4 -4
  181. package/esm5/lib/BingResourceSet.js.map +1 -1
  182. package/esm5/lib/BingResponse.js +4 -4
  183. package/esm5/lib/BingResponse.js.map +1 -1
  184. package/esm5/lib/CustomMapImagery.js +4 -4
  185. package/esm5/lib/CustomMapImagery.js.map +1 -1
  186. package/esm5/lib/GeographicContourLineSeriesView_combined.js +66 -45
  187. package/esm5/lib/GeographicContourLineSeriesView_combined.js.map +1 -1
  188. package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +117 -99
  189. package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js.map +1 -1
  190. package/esm5/lib/GeographicMapSeriesHost_combined.js +245 -153
  191. package/esm5/lib/GeographicMapSeriesHost_combined.js.map +1 -1
  192. package/esm5/lib/GeographicMarkerSeries.js +92 -0
  193. package/esm5/lib/GeographicMarkerSeries.js.map +1 -0
  194. package/esm5/lib/GeographicMarkerSeriesBase.js +22 -0
  195. package/esm5/lib/GeographicMarkerSeriesBase.js.map +1 -0
  196. package/esm5/lib/GeographicPolylineSeriesView_combined.js +38 -28
  197. package/esm5/lib/GeographicPolylineSeriesView_combined.js.map +1 -1
  198. package/esm5/lib/GeographicProportionalSymbolSeriesBase.js +7 -7
  199. package/esm5/lib/GeographicProportionalSymbolSeriesBase.js.map +1 -1
  200. package/esm5/lib/GeographicProportionalSymbolSeriesBaseView.js +6 -6
  201. package/esm5/lib/GeographicProportionalSymbolSeriesBaseView.js.map +1 -1
  202. package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +135 -165
  203. package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js.map +1 -1
  204. package/esm5/lib/GeographicShapeSeriesBaseBase.js +4 -4
  205. package/esm5/lib/GeographicShapeSeriesBaseBase.js.map +1 -1
  206. package/esm5/lib/GeographicShapeSeriesBaseBaseView.js +6 -6
  207. package/esm5/lib/GeographicShapeSeriesBaseBaseView.js.map +1 -1
  208. package/esm5/lib/GeographicShapeSeriesBase_combined.js +77 -97
  209. package/esm5/lib/GeographicShapeSeriesBase_combined.js.map +1 -1
  210. package/esm5/lib/GeographicShapeSeriesView_combined.js +105 -72
  211. package/esm5/lib/GeographicShapeSeriesView_combined.js.map +1 -1
  212. package/esm5/lib/GeographicSymbolSeriesBase.js +7 -7
  213. package/esm5/lib/GeographicSymbolSeriesBase.js.map +1 -1
  214. package/esm5/lib/GeographicSymbolSeriesBaseView.js +6 -6
  215. package/esm5/lib/GeographicSymbolSeriesBaseView.js.map +1 -1
  216. package/esm5/lib/GeographicSymbolSeriesView_combined.js +88 -118
  217. package/esm5/lib/GeographicSymbolSeriesView_combined.js.map +1 -1
  218. package/esm5/lib/GeographicTileSeries.js +34 -31
  219. package/esm5/lib/GeographicTileSeries.js.map +1 -1
  220. package/esm5/lib/GeographicXYTriangulatingSeriesBase.js +4 -4
  221. package/esm5/lib/GeographicXYTriangulatingSeriesBase.js.map +1 -1
  222. package/esm5/lib/GeographicXYTriangulatingSeriesBaseView.js +6 -6
  223. package/esm5/lib/GeographicXYTriangulatingSeriesBaseView.js.map +1 -1
  224. package/esm5/lib/ImageTilesReadyEventArgs.js +4 -4
  225. package/esm5/lib/ImageTilesReadyEventArgs.js.map +1 -1
  226. package/esm5/lib/ImageryMetadata.js +4 -4
  227. package/esm5/lib/ImageryMetadata.js.map +1 -1
  228. package/esm5/lib/ImagesChangedEventArgs.js +4 -4
  229. package/esm5/lib/ImagesChangedEventArgs.js.map +1 -1
  230. package/esm5/lib/LevelOfDetailResponseModel.js +7 -7
  231. package/esm5/lib/LevelOfDetailResponseModel.js.map +1 -1
  232. package/esm5/lib/MapBackgroundTilingMode.js +4 -4
  233. package/esm5/lib/MapResizeBehavior.js +4 -4
  234. package/esm5/lib/MapServerResponseModel.js +6 -6
  235. package/esm5/lib/MapServerResponseModel.js.map +1 -1
  236. package/esm5/lib/SphericalMercatorHorizontalScaler.js +6 -6
  237. package/esm5/lib/SphericalMercatorHorizontalScaler.js.map +1 -1
  238. package/esm5/lib/SphericalMercatorVerticalScaler.js +8 -8
  239. package/esm5/lib/SphericalMercatorVerticalScaler.js.map +1 -1
  240. package/esm5/lib/SubDomainsCollection.js +4 -4
  241. package/esm5/lib/SubDomainsCollection.js.map +1 -1
  242. package/esm5/lib/TileGeneratorMapImagery.js +4 -4
  243. package/esm5/lib/TileGeneratorMapImagery.js.map +1 -1
  244. package/esm5/lib/TileInfoResponseModel.js +5 -5
  245. package/esm5/lib/TileInfoResponseModel.js.map +1 -1
  246. package/esm5/lib/TileSeries_combined.js +112 -95
  247. package/esm5/lib/TileSeries_combined.js.map +1 -1
  248. package/esm5/lib/TokenResponseModel.js +7 -7
  249. package/esm5/lib/TokenResponseModel.js.map +1 -1
  250. package/esm5/lib/XamGeographicMap_combined.js +605 -564
  251. package/esm5/lib/XamGeographicMap_combined.js.map +1 -1
  252. package/esm5/lib/igx-arc-gis-online-map-imagery-dynamic-module.js +34 -31
  253. package/esm5/lib/igx-arc-gis-online-map-imagery-dynamic-module.js.map +1 -1
  254. package/esm5/lib/igx-arc-gis-online-map-imagery-module.js +28 -24
  255. package/esm5/lib/igx-arc-gis-online-map-imagery-module.js.map +1 -1
  256. package/esm5/lib/igx-arc-gis-online-map-imagery.js +13 -13
  257. package/esm5/lib/igx-arc-gis-online-map-imagery.js.map +1 -1
  258. package/esm5/lib/igx-bing-maps-map-imagery-dynamic-module.js +34 -31
  259. package/esm5/lib/igx-bing-maps-map-imagery-dynamic-module.js.map +1 -1
  260. package/esm5/lib/igx-bing-maps-map-imagery-module.js +28 -24
  261. package/esm5/lib/igx-bing-maps-map-imagery-module.js.map +1 -1
  262. package/esm5/lib/igx-bing-maps-map-imagery.js +16 -16
  263. package/esm5/lib/igx-bing-maps-map-imagery.js.map +1 -1
  264. package/esm5/lib/igx-custom-map-imagery-dynamic-module.js +34 -31
  265. package/esm5/lib/igx-custom-map-imagery-dynamic-module.js.map +1 -1
  266. package/esm5/lib/igx-custom-map-imagery-module.js +28 -24
  267. package/esm5/lib/igx-custom-map-imagery-module.js.map +1 -1
  268. package/esm5/lib/igx-custom-map-imagery.js +7 -12
  269. package/esm5/lib/igx-custom-map-imagery.js.map +1 -1
  270. package/esm5/lib/igx-geographic-contour-line-series-component.js +214 -183
  271. package/esm5/lib/igx-geographic-contour-line-series-component.js.map +1 -1
  272. package/esm5/lib/igx-geographic-contour-line-series-dynamic-module.js +34 -31
  273. package/esm5/lib/igx-geographic-contour-line-series-dynamic-module.js.map +1 -1
  274. package/esm5/lib/igx-geographic-contour-line-series-module.js +30 -26
  275. package/esm5/lib/igx-geographic-contour-line-series-module.js.map +1 -1
  276. package/esm5/lib/igx-geographic-high-density-scatter-series-component.js +252 -278
  277. package/esm5/lib/igx-geographic-high-density-scatter-series-component.js.map +1 -1
  278. package/esm5/lib/igx-geographic-high-density-scatter-series-dynamic-module.js +34 -31
  279. package/esm5/lib/igx-geographic-high-density-scatter-series-dynamic-module.js.map +1 -1
  280. package/esm5/lib/igx-geographic-high-density-scatter-series-module.js +30 -26
  281. package/esm5/lib/igx-geographic-high-density-scatter-series-module.js.map +1 -1
  282. package/esm5/lib/igx-geographic-map-component.js +722 -767
  283. package/esm5/lib/igx-geographic-map-component.js.map +1 -1
  284. package/esm5/lib/igx-geographic-map-core-dynamic-module.js +63 -43
  285. package/esm5/lib/igx-geographic-map-core-dynamic-module.js.map +1 -1
  286. package/esm5/lib/igx-geographic-map-core-module.js +56 -39
  287. package/esm5/lib/igx-geographic-map-core-module.js.map +1 -1
  288. package/esm5/lib/igx-geographic-map-dynamic-module.js +137 -72
  289. package/esm5/lib/igx-geographic-map-dynamic-module.js.map +1 -1
  290. package/esm5/lib/igx-geographic-map-imagery.js +15 -36
  291. package/esm5/lib/igx-geographic-map-imagery.js.map +1 -1
  292. package/esm5/lib/igx-geographic-map-module.js +130 -69
  293. package/esm5/lib/igx-geographic-map-module.js.map +1 -1
  294. package/esm5/lib/igx-geographic-map-series-host-component.js +183 -171
  295. package/esm5/lib/igx-geographic-map-series-host-component.js.map +1 -1
  296. package/esm5/lib/igx-geographic-marker-series-base-component.js +31 -0
  297. package/esm5/lib/igx-geographic-marker-series-base-component.js.map +1 -0
  298. package/esm5/lib/igx-geographic-marker-series-component.js +206 -0
  299. package/esm5/lib/igx-geographic-marker-series-component.js.map +1 -0
  300. package/esm5/lib/igx-geographic-polyline-series-component.js +154 -159
  301. package/esm5/lib/igx-geographic-polyline-series-component.js.map +1 -1
  302. package/esm5/lib/igx-geographic-polyline-series-dynamic-module.js +34 -31
  303. package/esm5/lib/igx-geographic-polyline-series-dynamic-module.js.map +1 -1
  304. package/esm5/lib/igx-geographic-polyline-series-module.js +30 -26
  305. package/esm5/lib/igx-geographic-polyline-series-module.js.map +1 -1
  306. package/esm5/lib/igx-geographic-proportional-symbol-series-base-component.js +31 -24
  307. package/esm5/lib/igx-geographic-proportional-symbol-series-base-component.js.map +1 -1
  308. package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +411 -604
  309. package/esm5/lib/igx-geographic-proportional-symbol-series-component.js.map +1 -1
  310. package/esm5/lib/igx-geographic-proportional-symbol-series-dynamic-module.js +34 -31
  311. package/esm5/lib/igx-geographic-proportional-symbol-series-dynamic-module.js.map +1 -1
  312. package/esm5/lib/igx-geographic-proportional-symbol-series-module.js +30 -26
  313. package/esm5/lib/igx-geographic-proportional-symbol-series-module.js.map +1 -1
  314. package/esm5/lib/igx-geographic-scatter-area-series-component.js +187 -146
  315. package/esm5/lib/igx-geographic-scatter-area-series-component.js.map +1 -1
  316. package/esm5/lib/igx-geographic-scatter-area-series-dynamic-module.js +34 -31
  317. package/esm5/lib/igx-geographic-scatter-area-series-dynamic-module.js.map +1 -1
  318. package/esm5/lib/igx-geographic-scatter-area-series-module.js +30 -26
  319. package/esm5/lib/igx-geographic-scatter-area-series-module.js.map +1 -1
  320. package/esm5/lib/igx-geographic-shape-series-base-base-component.js +31 -24
  321. package/esm5/lib/igx-geographic-shape-series-base-base-component.js.map +1 -1
  322. package/esm5/lib/igx-geographic-shape-series-base-component.js +306 -335
  323. package/esm5/lib/igx-geographic-shape-series-base-component.js.map +1 -1
  324. package/esm5/lib/igx-geographic-shape-series-component.js +325 -309
  325. package/esm5/lib/igx-geographic-shape-series-component.js.map +1 -1
  326. package/esm5/lib/igx-geographic-shape-series-dynamic-module.js +34 -31
  327. package/esm5/lib/igx-geographic-shape-series-dynamic-module.js.map +1 -1
  328. package/esm5/lib/igx-geographic-shape-series-module.js +30 -26
  329. package/esm5/lib/igx-geographic-shape-series-module.js.map +1 -1
  330. package/esm5/lib/igx-geographic-symbol-series-base-component.js +31 -24
  331. package/esm5/lib/igx-geographic-symbol-series-base-component.js.map +1 -1
  332. package/esm5/lib/igx-geographic-symbol-series-component.js +222 -388
  333. package/esm5/lib/igx-geographic-symbol-series-component.js.map +1 -1
  334. package/esm5/lib/igx-geographic-symbol-series-dynamic-module.js +34 -31
  335. package/esm5/lib/igx-geographic-symbol-series-dynamic-module.js.map +1 -1
  336. package/esm5/lib/igx-geographic-symbol-series-module.js +30 -26
  337. package/esm5/lib/igx-geographic-symbol-series-module.js.map +1 -1
  338. package/esm5/lib/igx-geographic-tile-series-component.js +120 -117
  339. package/esm5/lib/igx-geographic-tile-series-component.js.map +1 -1
  340. package/esm5/lib/igx-geographic-tile-series-dynamic-module.js +34 -31
  341. package/esm5/lib/igx-geographic-tile-series-dynamic-module.js.map +1 -1
  342. package/esm5/lib/igx-geographic-tile-series-module.js +30 -26
  343. package/esm5/lib/igx-geographic-tile-series-module.js.map +1 -1
  344. package/esm5/lib/igx-geographic-xy-triangulating-series-base-component.js +31 -24
  345. package/esm5/lib/igx-geographic-xy-triangulating-series-base-component.js.map +1 -1
  346. package/esm5/lib/igx-geographic-xy-triangulating-series-component.js +151 -165
  347. package/esm5/lib/igx-geographic-xy-triangulating-series-component.js.map +1 -1
  348. package/esm5/lib/igx-image-tiles-ready-event-args.js +3 -3
  349. package/esm5/lib/igx-images-changed-event-args.js +3 -3
  350. package/esm5/lib/igx-open-street-map-imagery-dynamic-module.js +34 -31
  351. package/esm5/lib/igx-open-street-map-imagery-dynamic-module.js.map +1 -1
  352. package/esm5/lib/igx-open-street-map-imagery-module.js +28 -24
  353. package/esm5/lib/igx-open-street-map-imagery-module.js.map +1 -1
  354. package/esm5/lib/igx-open-street-map-imagery.js +6 -6
  355. package/esm5/lib/igx-open-street-map-imagery.js.map +1 -1
  356. package/esm5/lib/igx-sub-domains-collection.js +4 -4
  357. package/esm5/lib/igx-sub-domains-collection.js.map +1 -1
  358. package/esm5/lib/igx-tile-generator-map-imagery-dynamic-module.js +34 -31
  359. package/esm5/lib/igx-tile-generator-map-imagery-dynamic-module.js.map +1 -1
  360. package/esm5/lib/igx-tile-generator-map-imagery-module.js +28 -24
  361. package/esm5/lib/igx-tile-generator-map-imagery-module.js.map +1 -1
  362. package/esm5/lib/igx-tile-generator-map-imagery.js +6 -6
  363. package/esm5/lib/igx-tile-generator-map-imagery.js.map +1 -1
  364. package/esm5/lib/igx-tile-series-component.js +86 -80
  365. package/esm5/lib/igx-tile-series-component.js.map +1 -1
  366. package/esm5/lib/igx-tile-series-dynamic-module.js +34 -31
  367. package/esm5/lib/igx-tile-series-dynamic-module.js.map +1 -1
  368. package/esm5/lib/igx-tile-series-module.js +29 -25
  369. package/esm5/lib/igx-tile-series-module.js.map +1 -1
  370. package/esm5/public_api.js +4 -0
  371. package/esm5/public_api.js.map +1 -1
  372. package/fesm2015/igniteui-angular-maps.js +8660 -8047
  373. package/fesm2015/igniteui-angular-maps.js.map +1 -1
  374. package/fesm5/igniteui-angular-maps.js +7947 -7583
  375. package/fesm5/igniteui-angular-maps.js.map +1 -1
  376. package/igniteui-angular-maps.d.ts +1 -0
  377. package/lib/ArcGISOnlineMapImagery.d.ts +16 -8
  378. package/lib/BingMapsMapImageryView_combined.d.ts +10 -5
  379. package/lib/GeographicContourLineSeriesView_combined.d.ts +22 -17
  380. package/lib/GeographicHighDensityScatterSeriesView_combined.d.ts +39 -36
  381. package/lib/GeographicMapSeriesHost_combined.d.ts +61 -47
  382. package/lib/GeographicMarkerSeries.d.ts +32 -0
  383. package/lib/GeographicMarkerSeriesBase.d.ts +10 -0
  384. package/lib/GeographicPolylineSeriesView_combined.d.ts +16 -14
  385. package/lib/GeographicProportionalSymbolSeriesBase.d.ts +3 -3
  386. package/lib/GeographicProportionalSymbolSeriesBaseView.d.ts +3 -3
  387. package/lib/GeographicProportionalSymbolSeriesView_combined.d.ts +50 -63
  388. package/lib/GeographicShapeSeriesBaseBase.d.ts +1 -1
  389. package/lib/GeographicShapeSeriesBaseBaseView.d.ts +1 -1
  390. package/lib/GeographicShapeSeriesBase_combined.d.ts +30 -32
  391. package/lib/GeographicShapeSeriesView_combined.d.ts +42 -32
  392. package/lib/GeographicSymbolSeriesBase.d.ts +3 -3
  393. package/lib/GeographicSymbolSeriesBaseView.d.ts +3 -3
  394. package/lib/GeographicSymbolSeriesView_combined.d.ts +37 -50
  395. package/lib/GeographicTileSeries.d.ts +10 -8
  396. package/lib/GeographicXYTriangulatingSeriesBase.d.ts +1 -1
  397. package/lib/GeographicXYTriangulatingSeriesBaseView.d.ts +1 -1
  398. package/lib/LevelOfDetailResponseModel.d.ts +6 -3
  399. package/lib/MapServerResponseModel.d.ts +4 -2
  400. package/lib/SphericalMercatorVerticalScaler.d.ts +2 -2
  401. package/lib/TileInfoResponseModel.d.ts +2 -1
  402. package/lib/TileSeries_combined.d.ts +25 -20
  403. package/lib/TokenResponseModel.d.ts +6 -3
  404. package/lib/XamGeographicMap_combined.d.ts +146 -135
  405. package/lib/igx-arc-gis-online-map-imagery-dynamic-module.d.ts +6 -0
  406. package/lib/igx-arc-gis-online-map-imagery-module.d.ts +5 -0
  407. package/lib/igx-arc-gis-online-map-imagery.d.ts +17 -9
  408. package/lib/igx-bing-maps-map-imagery-dynamic-module.d.ts +6 -0
  409. package/lib/igx-bing-maps-map-imagery-module.d.ts +5 -0
  410. package/lib/igx-bing-maps-map-imagery.d.ts +23 -12
  411. package/lib/igx-custom-map-imagery-dynamic-module.d.ts +6 -0
  412. package/lib/igx-custom-map-imagery-module.d.ts +5 -0
  413. package/lib/igx-custom-map-imagery.d.ts +2 -2
  414. package/lib/igx-geographic-contour-line-series-component.d.ts +22 -15
  415. package/lib/igx-geographic-contour-line-series-dynamic-module.d.ts +6 -0
  416. package/lib/igx-geographic-contour-line-series-module.d.ts +7 -0
  417. package/lib/igx-geographic-high-density-scatter-series-component.d.ts +33 -22
  418. package/lib/igx-geographic-high-density-scatter-series-dynamic-module.d.ts +6 -0
  419. package/lib/igx-geographic-high-density-scatter-series-module.d.ts +7 -0
  420. package/lib/igx-geographic-map-component.d.ts +55 -27
  421. package/lib/igx-geographic-map-core-dynamic-module.d.ts +10 -0
  422. package/lib/igx-geographic-map-core-module.d.ts +10 -0
  423. package/lib/igx-geographic-map-dynamic-module.d.ts +18 -0
  424. package/lib/igx-geographic-map-imagery.d.ts +19 -12
  425. package/lib/igx-geographic-map-module.d.ts +17 -0
  426. package/lib/igx-geographic-map-series-host-component.d.ts +18 -10
  427. package/lib/igx-geographic-marker-series-base-component.d.ts +12 -0
  428. package/lib/igx-geographic-marker-series-component.d.ts +82 -0
  429. package/lib/igx-geographic-polyline-series-component.d.ts +19 -16
  430. package/lib/igx-geographic-polyline-series-dynamic-module.d.ts +6 -0
  431. package/lib/igx-geographic-polyline-series-module.d.ts +7 -0
  432. package/lib/igx-geographic-proportional-symbol-series-base-component.d.ts +6 -12
  433. package/lib/igx-geographic-proportional-symbol-series-component.d.ts +46 -74
  434. package/lib/igx-geographic-proportional-symbol-series-dynamic-module.d.ts +6 -0
  435. package/lib/igx-geographic-proportional-symbol-series-module.d.ts +7 -0
  436. package/lib/igx-geographic-scatter-area-series-component.d.ts +25 -14
  437. package/lib/igx-geographic-scatter-area-series-dynamic-module.d.ts +6 -0
  438. package/lib/igx-geographic-scatter-area-series-module.d.ts +7 -0
  439. package/lib/igx-geographic-shape-series-base-base-component.d.ts +4 -10
  440. package/lib/igx-geographic-shape-series-base-component.d.ts +26 -21
  441. package/lib/igx-geographic-shape-series-component.d.ts +50 -24
  442. package/lib/igx-geographic-shape-series-dynamic-module.d.ts +6 -0
  443. package/lib/igx-geographic-shape-series-module.d.ts +7 -0
  444. package/lib/igx-geographic-symbol-series-base-component.d.ts +6 -12
  445. package/lib/igx-geographic-symbol-series-component.d.ts +28 -65
  446. package/lib/igx-geographic-symbol-series-dynamic-module.d.ts +6 -0
  447. package/lib/igx-geographic-symbol-series-module.d.ts +7 -0
  448. package/lib/igx-geographic-tile-series-component.d.ts +13 -13
  449. package/lib/igx-geographic-tile-series-dynamic-module.d.ts +6 -0
  450. package/lib/igx-geographic-tile-series-module.d.ts +7 -0
  451. package/lib/igx-geographic-xy-triangulating-series-base-component.d.ts +4 -10
  452. package/lib/igx-geographic-xy-triangulating-series-component.d.ts +18 -17
  453. package/lib/igx-image-tiles-ready-event-args.d.ts +1 -1
  454. package/lib/igx-images-changed-event-args.d.ts +1 -1
  455. package/lib/igx-open-street-map-imagery-dynamic-module.d.ts +6 -0
  456. package/lib/igx-open-street-map-imagery-module.d.ts +5 -0
  457. package/lib/igx-open-street-map-imagery.d.ts +3 -2
  458. package/lib/igx-tile-generator-map-imagery-dynamic-module.d.ts +6 -0
  459. package/lib/igx-tile-generator-map-imagery-module.d.ts +5 -0
  460. package/lib/igx-tile-generator-map-imagery.d.ts +3 -2
  461. package/lib/igx-tile-series-component.d.ts +11 -11
  462. package/lib/igx-tile-series-dynamic-module.d.ts +6 -0
  463. package/lib/igx-tile-series-module.d.ts +6 -0
  464. package/package.json +5 -5
  465. package/public_api.d.ts +4 -0
  466. package/igniteui-angular-maps.metadata.json +0 -1
@@ -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,1403 +32,1444 @@ 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
  */
40
- export class XamGeographicMap extends SeriesViewer {
41
- constructor() {
42
- super();
43
- this.p4 = null;
44
- this.pt = false;
45
- this.pl = 1;
46
- this.p0 = 0;
47
- this.rb = null;
48
- this.pi = null;
49
- this.pe = null;
50
- this.pg = null;
51
- this.pk = null;
52
- this.q7 = { $type: Point_$type, x: NaN, y: NaN };
53
- this.re = null;
54
- this.pz = 1;
55
- this.imageTilesReady = null;
56
- this.ps = null;
57
- this.rd = Rect.empty;
58
- this.p0 = SphericalMercatorVerticalScaler.am(XamGeographicMap.rc.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.rc.top);
59
- this.ab = XamGeographicMap.$;
60
- this.backgroundContent = new OpenStreetMapImagery();
61
- let a = ((() => {
62
- let $ret = new NumericXAxis();
63
- $ret.bh = this;
64
- return $ret;
65
- })());
66
- a.b8 = true;
67
- this.pf = a;
68
- this.pf.lp = new SphericalMercatorHorizontalScaler();
69
- let b = ((() => {
70
- let $ret = new NumericYAxis();
71
- $ret.bh = this;
72
- return $ret;
73
- })());
74
- b.b8 = true;
75
- this.ph = b;
76
- this.ph.lp = new SphericalMercatorVerticalScaler();
77
- this.qm();
78
- this.qt();
79
- this.i7();
80
- }
81
- provideContainer(a) {
82
- super.provideContainer(a);
83
- this.pf.provideRenderer(a);
84
- this.ph.provideRenderer(a);
85
- }
86
- i7() {
87
- super.i7();
88
- this.pr.fq(this.e8);
89
- }
90
- dx() {
91
- return this.px;
92
- }
93
- dy() {
94
- return this.px;
95
- }
96
- po() {
97
- if (this.pm == 0) {
98
- if (this.pt) {
99
- return 2;
42
+ export let XamGeographicMap = /*@__PURE__*/ (() => {
43
+ class XamGeographicMap extends SeriesViewer {
44
+ constructor() {
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;
53
+ this.p4 = null;
54
+ this.p8 = null;
55
+ this.rv = { $type: Point_$type, x: NaN, y: NaN };
56
+ this.r2 = null;
57
+ this.qn = 1;
58
+ this.imageTilesReady = null;
59
+ this.qg = null;
60
+ this.r1 = Rect.empty;
61
+ this.qo = SphericalMercatorVerticalScaler.am(XamGeographicMap.r0.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.r0.top);
62
+ this.ab = XamGeographicMap.$;
63
+ this.backgroundContent = new OpenStreetMapImagery();
64
+ let a = ((() => {
65
+ let $ret = new NumericXAxis();
66
+ $ret.bh = this;
67
+ return $ret;
68
+ })());
69
+ a.ca = true;
70
+ this.p3 = a;
71
+ this.p3.l7 = new SphericalMercatorHorizontalScaler();
72
+ let b = ((() => {
73
+ let $ret = new NumericYAxis();
74
+ $ret.bh = this;
75
+ return $ret;
76
+ })());
77
+ b.ca = true;
78
+ this.p5 = b;
79
+ this.p5.l7 = new SphericalMercatorVerticalScaler();
80
+ this.ra();
81
+ this.rh();
82
+ this.jn();
83
+ }
84
+ provideContainer(a) {
85
+ super.provideContainer(a);
86
+ this.p3.provideRenderer(a);
87
+ this.p5.provideRenderer(a);
88
+ }
89
+ jn() {
90
+ super.jn();
91
+ this.qf.fq(this.fh);
92
+ }
93
+ d4() {
94
+ return this.ql;
95
+ }
96
+ d5() {
97
+ return this.ql;
98
+ }
99
+ qc() {
100
+ if (this.qa == 0) {
101
+ if (this.qh) {
102
+ return 2;
103
+ }
100
104
  }
105
+ return 1;
101
106
  }
102
- return 1;
103
- }
104
- get pn() {
105
- return this.pl;
106
- }
107
- set pn(a) {
108
- this.pl = a;
109
- }
110
- get rg() {
111
- return this.rb;
112
- }
113
- set rg(a) {
114
- let b = Rect.l_op_Inequality(this.rb, a);
115
- if (b) {
116
- let c = this.rb;
117
- this.rb = a;
118
- this.k5("ActualWorldRect", c, a);
107
+ get qb() {
108
+ return this.p9;
119
109
  }
120
- }
121
- rk() {
122
- return this.rg;
123
- }
124
- qm() {
125
- if (this.rs.isEmpty) {
126
- return;
110
+ set qb(a) {
111
+ this.p9 = a;
127
112
  }
128
- this.rg = this.rq(this.rs, this.br == 1);
129
- }
130
- rq(a, b) {
131
- let c = a.top;
132
- let d = a.left;
133
- let e = a.width;
134
- let f = a.height;
135
- let g = SphericalMercatorVerticalScaler.am(a.bottom);
136
- let h = SphericalMercatorVerticalScaler.am(a.top);
137
- let i = g - h;
138
- let j = a.width / XamGeographicMap.rc.width;
139
- let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.rc.top);
140
- let l = i / j;
141
- if (i / j > this.p0) {
142
- let m = i / this.p0;
143
- let n = m - j;
144
- d = d - (n / 2) * XamGeographicMap.rc.width;
145
- e = m * XamGeographicMap.rc.width;
113
+ get r4() {
114
+ return this.rz;
115
+ }
116
+ set r4(a) {
117
+ let b = Rect.l_op_Inequality(this.rz, a);
146
118
  if (b) {
147
- if (d < XamGeographicMap.rc.left) {
148
- d += (XamGeographicMap.rc.left - d);
119
+ let c = this.rz;
120
+ this.rz = a;
121
+ this.ll("ActualWorldRect", c, a);
122
+ }
123
+ }
124
+ r8() {
125
+ return this.r4;
126
+ }
127
+ ra() {
128
+ if (this.sg.isEmpty) {
129
+ return;
130
+ }
131
+ this.r4 = this.se(this.sg, this.by == 1);
132
+ }
133
+ se(a, b) {
134
+ let c = a.top;
135
+ let d = a.left;
136
+ let e = a.width;
137
+ let f = a.height;
138
+ let g = SphericalMercatorVerticalScaler.am(a.bottom);
139
+ let h = SphericalMercatorVerticalScaler.am(a.top);
140
+ let i = g - h;
141
+ let j = a.width / XamGeographicMap.r0.width;
142
+ let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.r0.top);
143
+ let l = i / j;
144
+ if (i / j > this.qo) {
145
+ let m = i / this.qo;
146
+ let n = m - j;
147
+ d = d - (n / 2) * XamGeographicMap.r0.width;
148
+ e = m * XamGeographicMap.r0.width;
149
+ if (b) {
150
+ if (d < XamGeographicMap.r0.left) {
151
+ d += (XamGeographicMap.r0.left - d);
152
+ }
153
+ else if ((d + e) > XamGeographicMap.r0.right) {
154
+ d -= ((d + e) - XamGeographicMap.r0.right);
155
+ }
149
156
  }
150
- else if ((d + e) > XamGeographicMap.rc.right) {
151
- d -= ((d + e) - XamGeographicMap.rc.right);
157
+ }
158
+ else if (i / j < this.qo) {
159
+ let o = this.qo * j;
160
+ let p = o - i;
161
+ let q = h - (p / 2);
162
+ let r = g + (p / 2);
163
+ if (b) {
164
+ if (q < k) {
165
+ q += (k - q);
166
+ r += (k - q);
167
+ }
168
+ else if (r > (k + this.qo)) {
169
+ q -= ((r) - (k + this.qo));
170
+ r -= ((r) - (k + this.qo));
171
+ }
152
172
  }
173
+ c = SphericalMercatorVerticalScaler.aq(q);
174
+ f = SphericalMercatorVerticalScaler.aq(r) - c;
153
175
  }
176
+ let s = new Rect(0, d, c, e, f);
177
+ return s;
178
+ }
179
+ get backgroundContent() {
180
+ return this.p6;
154
181
  }
155
- else if (i / j < this.p0) {
156
- let o = this.p0 * j;
157
- let p = o - i;
158
- let q = h - (p / 2);
159
- let r = g + (p / 2);
182
+ set backgroundContent(a) {
183
+ let b = a != this.backgroundContent;
160
184
  if (b) {
161
- if (q < k) {
162
- q += (k - q);
163
- r += (k - q);
164
- }
165
- else if (r > (k + this.p0)) {
166
- q -= ((r) - (k + this.p0));
167
- r -= ((r) - (k + this.p0));
168
- }
185
+ let c = this.backgroundContent;
186
+ this.p6 = a;
187
+ this.ll("BackgroundContent", c, a);
169
188
  }
170
- c = SphericalMercatorVerticalScaler.aq(q);
171
- f = SphericalMercatorVerticalScaler.aq(r) - c;
172
189
  }
173
- let s = new Rect(0, d, c, e, f);
174
- return s;
175
- }
176
- get backgroundContent() {
177
- return this.pi;
178
- }
179
- set backgroundContent(a) {
180
- let b = a != this.backgroundContent;
181
- if (b) {
182
- let c = this.backgroundContent;
183
- this.pi = a;
184
- this.k5("BackgroundContent", c, a);
190
+ get p3() {
191
+ return this.p2;
185
192
  }
186
- }
187
- get pf() {
188
- return this.pe;
189
- }
190
- set pf(a) {
191
- let b = a != this.pf;
192
- if (b) {
193
- let c = this.pf;
194
- this.pe = a;
195
- this.k5("XAxis", c, a);
193
+ set p3(a) {
194
+ let b = a != this.p3;
195
+ if (b) {
196
+ let c = this.p3;
197
+ this.p2 = a;
198
+ this.ll("XAxis", c, a);
199
+ }
196
200
  }
197
- }
198
- get ph() {
199
- return this.pg;
200
- }
201
- set ph(a) {
202
- let b = a != this.ph;
203
- if (b) {
204
- let c = this.ph;
205
- this.pg = a;
206
- this.k5("YAxis", c, a);
201
+ get p5() {
202
+ return this.p4;
207
203
  }
208
- }
209
- getZoomRectFromGeoRect(a) {
210
- return this.getZoomFromGeographicRect(a);
211
- }
212
- qw(a) {
213
- this.o8 = a;
214
- }
215
- qv(a) {
216
- this.rs = a;
217
- }
218
- getZoomFromGeographicRect(a) {
219
- return this.ri(a, true, 0);
220
- }
221
- rh(a, b) {
222
- return this.ri(a, false, b);
223
- }
224
- ri(a, b, c) {
225
- let d = a;
226
- if (b) {
227
- d = this.rq(a, false);
228
- }
229
- let e = this.pf;
230
- let f = this.ph;
231
- let g = new ScalerParams(1, XamGeographicMap.rf, this.o7, e.ca);
232
- g.c = this.ow;
233
- let h = new ScalerParams(1, XamGeographicMap.rf, this.o7, f.ca);
234
- h.c = this.ow;
235
- let i = this.pf.dz(d.left, g);
236
- let j = this.pf.dz(d.right, g);
237
- let k = this.ph.dz(d.top, h);
238
- let l = this.ph.dz(d.bottom, h);
239
- let m = (i - c) / this.o7.width;
240
- let n = (l - c) / this.o7.height;
241
- let o = (j - i + (c * 2)) / this.o7.width;
242
- let p = (k - l + (c * 2)) / this.o7.height;
243
- let q = new Rect(0, m, n, o, p);
244
- q.intersect(XamGeographicMap.rf);
245
- if (q.isEmpty) {
246
- q = XamGeographicMap.rf;
247
- }
248
- return q;
249
- }
250
- getZoomFromGeographicPoints(a, b) {
251
- let c = a.x;
252
- let d = b.y;
253
- let e = b.x - a.x;
254
- let f = a.y - b.y;
255
- if (e < 0 || f < 0) {
256
- return XamGeographicMap.rf;
257
- }
258
- else {
259
- let g = new Rect(0, c, d, e, f);
260
- return this.getZoomFromGeographicRect(g);
204
+ set p5(a) {
205
+ let b = a != this.p5;
206
+ if (b) {
207
+ let c = this.p5;
208
+ this.p4 = a;
209
+ this.ll("YAxis", c, a);
210
+ }
261
211
  }
262
- }
263
- rm(a) {
264
- let b = this.pf;
265
- let c = this.ph;
266
- let d = new ScalerParams(1, a, this.o7, b.ca);
267
- d.c = this.ow;
268
- let e = new ScalerParams(1, a, this.o7, c.ca);
269
- e.c = this.ow;
270
- let f = this.ov;
271
- let g = b.d2(f.left, d);
272
- let h = c.d2(f.top, e);
273
- let i = b.d2(f.right, d);
274
- let j = c.d2(f.bottom, e);
275
- let k = i - g;
276
- let l = h - j;
277
- let m = new Rect(0, g, j, k, l);
278
- if (this.br == 1) {
279
- m.intersect(XamGeographicMap.rc);
280
- if (m.isEmpty) {
281
- m = XamGeographicMap.rc;
282
- }
283
- }
284
- return m;
285
- }
286
- q8(a) {
287
- let b = this.pf.ko(a.x);
288
- let c = this.ph.ko(a.y);
289
- return { $type: Point_$type, x: b, y: c };
290
- }
291
- q9(a) {
292
- let b = this.pf.ee(a.x);
293
- let c = this.ph.ee(a.y);
294
- return { $type: Point_$type, x: b, y: c };
295
- }
296
- ra(a) {
297
- return this.q9(a);
298
- }
299
- qj() {
300
- let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
301
- if (a != null) {
302
- a.clearTileCache();
212
+ getZoomRectFromGeoRect(a) {
213
+ return this.getZoomFromGeographicRect(a);
303
214
  }
304
- }
305
- qp(a) {
306
- }
307
- oa(a) {
308
- return this.pr.fu(a);
309
- }
310
- ob(a) {
311
- return this.pr.fv(a);
312
- }
313
- eg() {
314
- return true;
315
- }
316
- qr() {
317
- this.pr.eb();
318
- for (let a of fromEnum(this.series)) {
319
- a.lc();
215
+ rk(a) {
216
+ this.pw = a;
320
217
  }
321
- }
322
- qu() {
323
- if (this.pq == 2) {
324
- if (!this.o7.isEmpty && this.o7.width > 0 && this.o7.height > 0) {
325
- let a = this.pf.ko(this.o7.left + (this.o7.width / 2));
326
- let b = this.ph.ko(this.o7.top + (this.o7.height / 2));
327
- this.q7 = { $type: Point_$type, x: a, y: b };
218
+ rj(a) {
219
+ this.sg = a;
220
+ }
221
+ getZoomFromGeographicRect(a) {
222
+ return this.r6(a, true, 0);
223
+ }
224
+ r5(a, b) {
225
+ return this.r6(a, false, b);
226
+ }
227
+ r6(a, b, c) {
228
+ let d = a;
229
+ if (b) {
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;
246
+ let q = new Rect(0, m, n, o, p);
247
+ q.intersect(XamGeographicMap.r3);
248
+ if (q.isEmpty) {
249
+ q = XamGeographicMap.r3;
250
+ }
251
+ return q;
252
+ }
253
+ getZoomFromGeographicPoints(a, b) {
254
+ let c = a.x;
255
+ let d = b.y;
256
+ let e = b.x - a.x;
257
+ let f = a.y - b.y;
258
+ if (e < 0 || f < 0) {
259
+ return XamGeographicMap.r3;
260
+ }
261
+ else {
262
+ let g = new Rect(0, c, d, e, f);
263
+ return this.getZoomFromGeographicRect(g);
328
264
  }
329
265
  }
330
- else {
331
- if (!this.o7.isEmpty && this.o7.width > 0 && this.o7.height > 0) {
332
- let c = this.pf.ko(this.o7.left);
333
- let d = this.ph.ko(this.o7.top);
334
- this.q7 = { $type: Point_$type, x: c, y: d };
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);
278
+ let k = i - g;
279
+ let l = h - j;
280
+ let m = new Rect(0, g, j, k, l);
281
+ if (this.by == 1) {
282
+ m.intersect(XamGeographicMap.r0);
283
+ if (m.isEmpty) {
284
+ m = XamGeographicMap.r0;
285
+ }
335
286
  }
287
+ return m;
336
288
  }
337
- }
338
- qq() {
339
- if (isNaN_(this.q7.x) || isNaN_(this.q7.y)) {
340
- this.qu();
341
- }
342
- let a = this.q7.x;
343
- let b = this.q7.y;
344
- if (!isNaN_(a) && !isNaN_(b)) {
345
- let c = this.os.left;
346
- let d = this.os.top;
347
- let e = this.os.width;
348
- let f = this.os.height;
349
- if (e > this.re.width) {
289
+ rw(a) {
290
+ let b = this.p3.k6(a.x);
291
+ let c = this.p5.k6(a.y);
292
+ return { $type: Point_$type, x: b, y: c };
293
+ }
294
+ rx(a) {
295
+ let b = this.p3.en(a.x);
296
+ let c = this.p5.en(a.y);
297
+ return { $type: Point_$type, x: b, y: c };
298
+ }
299
+ ry(a) {
300
+ return this.rx(a);
301
+ }
302
+ q7() {
303
+ let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
304
+ if (a != null) {
305
+ a.clearTileCache();
306
+ }
307
+ }
308
+ rd(a) {
309
+ }
310
+ ep() {
311
+ return true;
312
+ }
313
+ rf() {
314
+ this.qf.eb();
315
+ for (let a of fromEnum(this.series)) {
316
+ a.l9();
317
+ }
318
+ }
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 };
325
+ }
350
326
  }
351
327
  else {
352
- let g = new ScalerParams(1, XamGeographicMap.rf, this.o7, this.pf.ca);
353
- g.c = this.ow;
354
- let h = this.pf.dz(a, g);
355
- if (this.pq == 2) {
356
- let i = h / this.o7.width;
357
- c = i - (e / 2);
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 };
332
+ }
333
+ }
334
+ }
335
+ re() {
336
+ if (isNaN_(this.rv.x) || isNaN_(this.rv.y)) {
337
+ this.ri();
338
+ }
339
+ let a = this.rv.x;
340
+ let b = this.rv.y;
341
+ if (!isNaN_(a) && !isNaN_(b)) {
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) {
358
347
  }
359
348
  else {
360
- c = h / this.o7.width;
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;
354
+ c = i - (e / 2);
355
+ }
356
+ else {
357
+ c = h / this.pv.width;
358
+ }
359
+ if (c + e > this.r2.right) {
360
+ c = this.r2.right - e;
361
+ }
362
+ else if (c < this.r2.left) {
363
+ c = this.r2.left;
364
+ }
361
365
  }
362
- if (c + e > this.re.right) {
363
- c = this.re.right - e;
366
+ if (f > this.r2.height) {
364
367
  }
365
- else if (c < this.re.left) {
366
- c = this.re.left;
368
+ else {
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;
374
+ d = l - (f / 2);
375
+ }
376
+ else {
377
+ d = k / this.pv.height;
378
+ }
379
+ if (d + f > this.r2.bottom) {
380
+ d = this.r2.bottom - f;
381
+ }
382
+ else if (d < this.r2.top) {
383
+ d = this.r2.top;
384
+ }
367
385
  }
386
+ this.ms(new Rect(0, c, d, e, f), false);
368
387
  }
369
- if (f > this.re.height) {
388
+ }
389
+ get_dx() {
390
+ return true;
391
+ }
392
+ ph() {
393
+ let a = super.ph();
394
+ if (this.p3 == null || this.p5 == null) {
395
+ return a;
370
396
  }
371
- else {
372
- let j = new ScalerParams(1, XamGeographicMap.rf, this.o7, this.ph.ca);
373
- j.c = this.ow;
374
- let k = this.ph.dz(b, j);
375
- if (this.pq == 2) {
376
- let l = k / this.o7.height;
377
- d = l - (f / 2);
397
+ this.pr();
398
+ let b = a.left;
399
+ let c = a.top;
400
+ if (this.by == 1) {
401
+ if (this.pw.width > this.r2.width) {
402
+ b = 0.5 - (this.pw.width / 2);
378
403
  }
379
- else {
380
- d = k / this.o7.height;
404
+ else if (b + a.width > this.r2.right) {
405
+ b = this.r2.right - this.pw.width;
381
406
  }
382
- if (d + f > this.re.bottom) {
383
- d = this.re.bottom - f;
407
+ else if (b < this.r2.left) {
408
+ b = this.r2.left;
384
409
  }
385
- else if (d < this.re.top) {
386
- d = this.re.top;
410
+ if (this.pw.height > this.r2.height) {
411
+ c = 0.5 - (this.pw.height / 2);
412
+ }
413
+ else if (c + this.pw.height > this.r2.bottom) {
414
+ c = this.r2.bottom - this.pw.height;
415
+ }
416
+ else if (c < this.r2.top) {
417
+ c = this.r2.top;
387
418
  }
388
419
  }
389
- this.mc(new Rect(0, c, d, e, f), false);
390
- }
391
- }
392
- get_dq() {
393
- return true;
394
- }
395
- ot() {
396
- let a = super.ot();
397
- if (this.pf == null || this.ph == null) {
398
- return a;
399
- }
400
- this.o3();
401
- let b = a.left;
402
- let c = a.top;
403
- if (this.br == 1) {
404
- if (this.o8.width > this.re.width) {
405
- b = 0.5 - (this.o8.width / 2);
420
+ let d = false;
421
+ if (!this.qk && this.by == 2 && this.qh) {
422
+ if (b > 1) {
423
+ b = (b - Math.floor(b)) + 1;
424
+ }
425
+ if (b < 0) {
426
+ b = 0 - (Math.ceil(b) - b);
427
+ }
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));
430
+ d = true;
431
+ }
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));
434
+ d = true;
435
+ }
406
436
  }
407
- else if (b + a.width > this.re.right) {
408
- b = this.re.right - this.o8.width;
437
+ let e = new Rect(0, b, c, a.width, a.height);
438
+ if (this.qk) {
439
+ let f = this.r5(this.sg, 1);
440
+ f = this.r7(f);
441
+ let g = e.left + e.width / 2;
442
+ let h = e.top + e.height / 2;
443
+ if (e.width > f.width) {
444
+ let i = e.height / e.width;
445
+ let j = f.width;
446
+ let k = i * j;
447
+ e = new Rect(0, g - j / 2, h - k / 2, j, k);
448
+ d = true;
449
+ }
450
+ if (e.height > f.height) {
451
+ let l = e.width / e.height;
452
+ let m = f.height;
453
+ let n = l * m;
454
+ e = new Rect(0, g - n / 2, h - m / 2, n, m);
455
+ d = true;
456
+ }
457
+ if (e.left < f.left) {
458
+ e = new Rect(0, f.left, e.top, e.width, e.height);
459
+ d = true;
460
+ }
461
+ if (e.top < f.top) {
462
+ e = new Rect(0, e.left, f.top, e.width, e.height);
463
+ d = true;
464
+ }
465
+ if (e.right > f.right) {
466
+ e = new Rect(0, f.right - e.width, e.top, e.width, e.height);
467
+ d = true;
468
+ }
469
+ if (e.bottom > f.bottom) {
470
+ e = new Rect(0, e.left, f.bottom - e.height, e.width, e.height);
471
+ d = true;
472
+ }
409
473
  }
410
- else if (b < this.re.left) {
411
- b = this.re.left;
474
+ if (d) {
475
+ this.dj = true;
476
+ this.pw = e;
477
+ this.dj = false;
412
478
  }
413
- if (this.o8.height > this.re.height) {
414
- c = 0.5 - (this.o8.height / 2);
479
+ return e;
480
+ }
481
+ i1(a, b) {
482
+ let c = true;
483
+ let d = true;
484
+ let e = 0;
485
+ let f = this.pr();
486
+ let g = 0;
487
+ let h = 0;
488
+ if ((a.right - f.right) > 0) {
489
+ g = ((a.right - f.right) / a.width);
415
490
  }
416
- else if (c + this.o8.height > this.re.bottom) {
417
- c = this.re.bottom - this.o8.height;
491
+ if (a.left < f.left) {
492
+ h = (Math.abs(a.left - f.left) / a.width);
418
493
  }
419
- else if (c < this.re.top) {
420
- c = this.re.top;
494
+ if (h == 0 && g == 0) {
495
+ c = false;
421
496
  }
422
- }
423
- let d = false;
424
- if (!this.pw && this.br == 2 && this.pt) {
425
- if (b > 1) {
426
- b = (b - Math.floor(b)) + 1;
497
+ if (h > g) {
498
+ d = false;
427
499
  }
428
- if (b < 0) {
429
- b = 0 - (Math.ceil(b) - b);
500
+ if (c) {
501
+ if (d) {
502
+ let i = this.p2.d8(-180, b);
503
+ let j = this.p2.d8(180, b);
504
+ e = j - i;
505
+ }
506
+ else {
507
+ let k = this.p2.d8(-180, b);
508
+ let l = this.p2.d8(180, b);
509
+ e = k - l;
510
+ }
430
511
  }
431
- if ((a.right - this.re.right) > 0 && ((a.right - this.re.right) / a.width) > 0.8) {
432
- b = this.re.left - (a.width - (a.right - this.re.right));
433
- d = true;
512
+ return new Tuple$2(Boolean_$type, Number_$type, c, e);
513
+ }
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;
528
+ let c = 0.5 * (a.left + a.right);
529
+ let d = 0.5 * (a.top + a.bottom);
530
+ let e = a.width;
531
+ let f = a.height;
532
+ let g = MathUtil.b(a.width, b, 1);
533
+ let h = MathUtil.b(a.height, b, 1);
534
+ let i = this.pv;
535
+ let j = i.width / i.height;
536
+ let k = g * i.width;
537
+ let l = h * i.height;
538
+ let m = k / l;
539
+ if (m != j) {
540
+ if (l * j > k) {
541
+ k = l * j;
542
+ g = k / i.width;
543
+ }
544
+ else {
545
+ l = k / j;
546
+ h = l / i.height;
547
+ }
434
548
  }
435
- else if (a.left < this.re.left && (Math.abs(a.left - this.re.left) / a.width) > 0.8) {
436
- b = this.re.right - (Math.abs(a.left - this.re.left));
437
- d = true;
549
+ let n = g != e;
550
+ let o = h != f;
551
+ let p = n ? c - 0.5 * g : a.left;
552
+ let q = o ? d - 0.5 * h : a.top;
553
+ let r = n ? c + 0.5 * g : a.right;
554
+ let s = o ? d + 0.5 * h : a.bottom;
555
+ if (p < 0) {
556
+ p = 0;
557
+ r = p + g;
438
558
  }
439
- }
440
- let e = new Rect(0, b, c, a.width, a.height);
441
- if (this.pw) {
442
- let f = this.rh(this.rs, 1);
443
- f = this.rj(f);
444
- let g = e.left + e.width / 2;
445
- let h = e.top + e.height / 2;
446
- if (e.width > f.width) {
447
- let i = e.height / e.width;
448
- let j = f.width;
449
- let k = i * j;
450
- e = new Rect(0, g - j / 2, h - k / 2, j, k);
451
- d = true;
559
+ if (r > 1) {
560
+ r = 1;
561
+ p = r - g;
452
562
  }
453
- if (e.height > f.height) {
454
- let l = e.width / e.height;
455
- let m = f.height;
456
- let n = l * m;
457
- e = new Rect(0, g - n / 2, h - m / 2, n, m);
458
- d = true;
563
+ if (q < 0) {
564
+ q = 0;
565
+ s = q + h;
459
566
  }
460
- if (e.left < f.left) {
461
- e = new Rect(0, f.left, e.top, e.width, e.height);
462
- d = true;
567
+ if (s > 1) {
568
+ s = 1;
569
+ q = s - h;
463
570
  }
464
- if (e.top < f.top) {
465
- e = new Rect(0, e.left, f.top, e.width, e.height);
466
- d = true;
571
+ return new Rect(0, p, q, r - p, s - q);
572
+ }
573
+ pi(a) {
574
+ super.pi(this.pv);
575
+ if (a.isEmpty) {
576
+ return Rect.empty;
467
577
  }
468
- if (e.right > f.right) {
469
- e = new Rect(0, f.right - e.width, e.top, e.width, e.height);
470
- d = true;
578
+ let b;
579
+ if (a.width > a.height) {
580
+ let c = intDivide(truncate((a.width - a.height)), 2);
581
+ b = new Rect(0, a.left + c, a.top, a.height, a.height);
471
582
  }
472
- if (e.bottom > f.bottom) {
473
- e = new Rect(0, e.left, f.bottom - e.height, e.width, e.height);
474
- d = true;
583
+ else {
584
+ let d = intDivide(truncate((a.height - a.width)), 2);
585
+ b = new Rect(0, a.left, a.top + d, a.width, a.width);
475
586
  }
587
+ return b;
476
588
  }
477
- if (d) {
478
- this.dc = true;
479
- this.o8 = e;
480
- this.dc = false;
589
+ r9(a) {
590
+ return this.pi(a);
481
591
  }
482
- return e;
483
- }
484
- ik(a, b) {
485
- let c = true;
486
- let d = true;
487
- let e = 0;
488
- let f = this.o3();
489
- let g = 0;
490
- let h = 0;
491
- if ((a.right - f.right) > 0) {
492
- g = ((a.right - f.right) / a.width);
493
- }
494
- if (a.left < f.left) {
495
- h = (Math.abs(a.left - f.left) / a.width);
496
- }
497
- if (h == 0 && g == 0) {
498
- c = false;
499
- }
500
- if (h > g) {
501
- d = false;
502
- }
503
- if (c) {
504
- if (d) {
505
- let i = this.pe.dz(-180, b);
506
- let j = this.pe.dz(180, b);
507
- e = j - i;
508
- }
509
- else {
510
- let k = this.pe.dz(-180, b);
511
- let l = this.pe.dz(180, b);
512
- e = k - l;
592
+ ce() {
593
+ return new XamGeographicMapView(this);
594
+ }
595
+ q9(a) {
596
+ if (a != null) {
597
+ a.bh = this;
513
598
  }
514
599
  }
515
- return new Tuple$2(Boolean_$type, Number_$type, c, e);
516
- }
517
- o3() {
518
- let a = new ScalerParams(1, XamGeographicMap.rf, this.o7, this.pf.ca);
519
- a.c = this.ow;
520
- let b = new ScalerParams(1, XamGeographicMap.rf, this.o7, this.ph.ca);
521
- b.c = this.ow;
522
- let c = this.pf.dz(XamGeographicMap.rc.left, a);
523
- let d = this.pf.dz(XamGeographicMap.rc.right, a);
524
- let e = this.ph.dz(XamGeographicMap.rc.top, b);
525
- let f = this.ph.dz(XamGeographicMap.rc.bottom, b);
526
- this.re = new Rect(0, c / this.o7.width, f / this.o7.height, (d - c) / this.o7.width, (e - f) / this.o7.height);
527
- return this.re;
528
- }
529
- rj(a) {
530
- let b = this.fw;
531
- let c = 0.5 * (a.left + a.right);
532
- let d = 0.5 * (a.top + a.bottom);
533
- let e = a.width;
534
- let f = a.height;
535
- let g = MathUtil.b(a.width, b, 1);
536
- let h = MathUtil.b(a.height, b, 1);
537
- let i = this.o7;
538
- let j = i.width / i.height;
539
- let k = g * i.width;
540
- let l = h * i.height;
541
- let m = k / l;
542
- if (m != j) {
543
- if (l * j > k) {
544
- k = l * j;
545
- g = k / i.width;
600
+ k5(a) {
601
+ super.k5(a);
602
+ this.qf = a;
603
+ }
604
+ lg(a, b) {
605
+ super.lg(a, b);
606
+ this.mg(this.p3);
607
+ this.mg(this.p5);
608
+ if (Rect.l_op_Inequality(a, b)) {
609
+ this.re();
546
610
  }
547
- else {
548
- l = k / j;
549
- h = l / i.height;
611
+ if (this.qk) {
612
+ this.pg = this.ph();
550
613
  }
614
+ this.rl();
551
615
  }
552
- let n = g != e;
553
- let o = h != f;
554
- let p = n ? c - 0.5 * g : a.left;
555
- let q = o ? d - 0.5 * h : a.top;
556
- let r = n ? c + 0.5 * g : a.right;
557
- let s = o ? d + 0.5 * h : a.bottom;
558
- if (p < 0) {
559
- p = 0;
560
- r = p + g;
616
+ get qp() {
617
+ return this.qn;
561
618
  }
562
- if (r > 1) {
563
- r = 1;
564
- p = r - g;
619
+ set qp(a) {
620
+ let b = this.qn;
621
+ this.qn = a;
622
+ this.ll("ActualWindowScale", b, this.qn);
565
623
  }
566
- if (q < 0) {
567
- q = 0;
568
- s = q + h;
624
+ fn() {
625
+ return this.qp;
569
626
  }
570
- if (s > 1) {
571
- s = 1;
572
- q = s - h;
627
+ fo() {
628
+ return this.qp;
573
629
  }
574
- return new Rect(0, p, q, r - p, s - q);
575
- }
576
- ou(a) {
577
- super.ou(this.o7);
578
- if (a.isEmpty) {
579
- return Rect.empty;
630
+ mf() {
631
+ super.mf();
632
+ let a = Math.min(this.pg.width, this.pg.height);
633
+ this.qp = a;
580
634
  }
581
- let b;
582
- if (a.width > a.height) {
583
- let c = intDivide(truncate((a.width - a.height)), 2);
584
- b = new Rect(0, a.left + c, a.top, a.height, a.height);
635
+ ei() {
636
+ return this.qh;
585
637
  }
586
- else {
587
- let d = intDivide(truncate((a.height - a.width)), 2);
588
- b = new Rect(0, a.left, a.top + d, a.width, a.width);
638
+ bz() {
639
+ if (this.b0 == 0) {
640
+ if (this.qi) {
641
+ return 2;
642
+ }
643
+ }
644
+ return this.b0;
645
+ }
646
+ lh(a, b, c, d) {
647
+ super.lh(a, b, c, d);
648
+ switch (b) {
649
+ case "ZoomCoercionMode":
650
+ this.ra();
651
+ break;
652
+ case "WindowRect":
653
+ this.ri();
654
+ break;
655
+ case XamGeographicMap.$$p[0]:
656
+ this.qb = this.qc();
657
+ if (this.p8 != null) {
658
+ this.p8.isHorizontalWrappingEnabled = this.qb == 2;
659
+ }
660
+ break;
661
+ case XamGeographicMap.$$p[1]:
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;
667
+ }
668
+ break;
669
+ case XamGeographicMap.$$p[4]:
670
+ this.pg = this.ph();
671
+ break;
672
+ case "BackgroundContent":
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;
677
+ }
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;
684
+ }
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);
690
+ }
691
+ break;
692
+ case "YAxis":
693
+ case "XAxis":
694
+ this.rg(c);
695
+ this.q9(d);
696
+ break;
697
+ case XamGeographicMap.$$p[6]:
698
+ if (!this.qj) {
699
+ this.pw = XamGeographicMap.r3;
700
+ }
701
+ this.ra();
702
+ this.rh();
703
+ this.ri();
704
+ this.pg = this.ph();
705
+ this.qf.fn();
706
+ break;
707
+ case "ActualWindowRect":
708
+ this.qf.fm(this.pg);
709
+ break;
710
+ case "ActualWorldRect":
711
+ for (let g of fromEnum(this.series)) {
712
+ g.l0(false);
713
+ }
714
+ break;
715
+ case XamGeographicMap.$$p[5]:
716
+ this.qp = this.qq;
717
+ break;
718
+ case "ActualWindowScale":
719
+ if (!this.eo) {
720
+ this.mr(this.fn(), this.fo());
721
+ }
722
+ break;
723
+ case "ActualPixelScalingRatio":
724
+ this.qf.fq(this.fh);
725
+ break;
726
+ case XamGeographicMap.$$p[7]:
727
+ this.mn();
728
+ break;
729
+ case "MarkerAutomaticBehavior":
730
+ for (let h of fromEnum(this.series)) {
731
+ h.k2();
732
+ }
733
+ break;
734
+ }
589
735
  }
590
- return b;
591
- }
592
- rl(a) {
593
- return this.ou(a);
594
- }
595
- b7() {
596
- return new XamGeographicMapView(this);
597
- }
598
- n6(a) {
599
- return this.pr.ft(a);
600
- }
601
- oc(a) {
602
- return this.pr.fw(a);
603
- }
604
- ql(a) {
605
- if (a != null) {
606
- a.bh = this;
736
+ rb(a, b) {
737
+ if (this.imageTilesReady != null) {
738
+ this.imageTilesReady(this, new ImageTilesReadyEventArgs());
739
+ }
607
740
  }
608
- }
609
- kp(a) {
610
- super.kp(a);
611
- this.pr = a;
612
- }
613
- k0(a, b) {
614
- super.k0(a, b);
615
- this.l0(this.pf);
616
- this.l0(this.ph);
617
- if (Rect.l_op_Inequality(a, b)) {
618
- this.qq();
741
+ rg(a) {
742
+ if (a != null) {
743
+ a.bh = null;
744
+ }
619
745
  }
620
- if (this.pw) {
621
- this.os = this.ot();
746
+ rh() {
747
+ if (this.p3 != null) {
748
+ this.p3.k3 = this.r4.left;
749
+ this.p3.k2 = this.r4.right;
750
+ }
751
+ if (this.p5 != null) {
752
+ this.p5.k3 = this.r4.top;
753
+ this.p5.k2 = this.r4.bottom;
754
+ }
755
+ this.p3.cw(true);
756
+ this.p5.cw(true);
622
757
  }
623
- this.qx();
624
- }
625
- get p1() {
626
- return this.pz;
627
- }
628
- set p1(a) {
629
- let b = this.pz;
630
- this.pz = a;
631
- this.k5("ActualWindowScale", b, this.pz);
632
- }
633
- fe() {
634
- return this.p1;
635
- }
636
- ff() {
637
- return this.p1;
638
- }
639
- lz() {
640
- super.lz();
641
- let a = Math.min(this.os.width, this.os.height);
642
- this.p1 = a;
643
- }
644
- ea() {
645
- return this.pt;
646
- }
647
- bs() {
648
- if (this.bt == 0) {
649
- if (this.pu) {
650
- return 2;
758
+ getFontInfo() {
759
+ this.qg = this.qf.fj;
760
+ return this.qg;
761
+ }
762
+ os() {
763
+ return this.qf.fr;
764
+ }
765
+ getFontBrush() {
766
+ return this.qf.fs;
767
+ }
768
+ l8(a, b) {
769
+ if (typeCast(ItfConverter.$, b) !== null) {
770
+ let c = b;
771
+ let d = a;
772
+ d.itemsSource = c.triangulationSource.points;
773
+ d.pt = c.triangulationSource.triangles;
774
+ }
775
+ else {
776
+ super.l8(a, b);
651
777
  }
652
778
  }
653
- return this.bt;
654
- }
655
- k1(a, b, c, d) {
656
- super.k1(a, b, c, d);
657
- switch (b) {
658
- case "ZoomCoercionMode":
659
- this.qm();
660
- break;
661
- case "WindowRect":
662
- this.qu();
663
- break;
664
- case XamGeographicMap.$$p[0]:
665
- this.pn = this.po();
666
- if (this.pk != null) {
667
- this.pk.isHorizontalWrappingEnabled = this.pn == 2;
668
- }
669
- break;
670
- case XamGeographicMap.$$p[1]:
671
- this.pt = this.pu;
672
- this.pn = this.po();
673
- this.br = this.bs();
674
- if (this.pk != null) {
675
- this.pk.isHorizontalWrappingEnabled = this.pn == 2;
676
- }
677
- break;
678
- case XamGeographicMap.$$p[4]:
679
- this.os = this.ot();
680
- break;
681
- case "BackgroundContent":
682
- if (this.pk != null) {
683
- let e = this.pk;
684
- e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.qn));
685
- this.pk.deferralHandler = null;
686
- }
687
- this.pk = typeCast(GeographicMapImagery.$, this.backgroundContent);
688
- if (this.pk != null) {
689
- let f = this.pk;
690
- f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.qn));
691
- this.pk.deferralHandler = this;
692
- this.pk.isHorizontalWrappingEnabled = this.pn == 2;
693
- }
694
- this.pr.fp(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
695
- if (this.pk != null) {
696
- this.pk.geographicMap = this;
697
- this.pr.fm(this.os);
698
- this.pr.fq(this.e8);
699
- }
700
- break;
701
- case "YAxis":
702
- case "XAxis":
703
- this.qs(c);
704
- this.ql(d);
705
- break;
706
- case XamGeographicMap.$$p[6]:
707
- if (!this.pv) {
708
- this.o8 = XamGeographicMap.rf;
709
- }
710
- this.qm();
711
- this.qt();
712
- this.qu();
713
- this.os = this.ot();
714
- this.pr.fn();
715
- break;
716
- case "ActualWindowRect":
717
- this.pr.fm(this.os);
718
- break;
719
- case "ActualWorldRect":
720
- for (let g of fromEnum(this.series)) {
721
- g.k3(false);
722
- }
723
- break;
724
- case XamGeographicMap.$$p[5]:
725
- this.p1 = this.p2;
726
- break;
727
- case "ActualWindowScale":
728
- if (!this.ef) {
729
- this.mb(this.fe(), this.ff());
730
- }
731
- break;
732
- case "ActualPixelScalingRatio":
733
- this.pr.fq(this.e8);
734
- break;
735
- case XamGeographicMap.$$p[7]:
736
- this.l7();
737
- break;
779
+ register(a, b) {
780
+ this.ly(a, b);
738
781
  }
739
- }
740
- qn(a, b) {
741
- if (this.imageTilesReady != null) {
742
- this.imageTilesReady(this, new ImageTilesReadyEventArgs());
782
+ unRegister(a) {
783
+ this.me(a);
743
784
  }
744
- }
745
- qs(a) {
746
- if (a != null) {
747
- a.bh = null;
785
+ deferredRefresh() {
786
+ this.jb();
748
787
  }
749
- }
750
- qt() {
751
- if (this.pf != null) {
752
- this.pf.kl = this.rg.left;
753
- this.pf.kk = this.rg.right;
788
+ deferAction(a) {
789
+ if (this.qs != null) {
790
+ this.qs.setTimeout(a, 0);
791
+ }
792
+ else {
793
+ window.setTimeout(a, 0);
794
+ }
754
795
  }
755
- if (this.ph != null) {
756
- this.ph.kl = this.rg.top;
757
- this.ph.kk = this.rg.bottom;
796
+ q8(a) {
797
+ this.mm(a);
798
+ }
799
+ qt() {
800
+ let a = new ChartVisualData();
801
+ let b = this.p3.ff();
802
+ let c = this.p5.ff();
803
+ a.axes.add1(b);
804
+ a.axes.add1(c);
805
+ for (let d = 0; d < this.series.count; d++) {
806
+ let e = this.series._inner[d].hg();
807
+ a.series.add1(e);
808
+ }
809
+ a.name = this.name;
810
+ a.contentArea = RectData.b(this.pv);
811
+ a.centralArea = RectData.b(this.pv);
812
+ a.plotArea = RectData.b(this.pv);
813
+ return a;
758
814
  }
759
- this.pf.co(true);
760
- this.ph.co(true);
761
- }
762
- getFontInfo() {
763
- this.ps = this.pr.fj;
764
- return this.ps;
765
- }
766
- n5() {
767
- return this.pr.fr;
768
- }
769
- getFontBrush() {
770
- return this.pr.fs;
771
- }
772
- ls(a, b) {
773
- if (typeCast(ItfConverter.$, b) !== null) {
774
- let c = b;
775
- let d = a;
776
- d.itemsSource = c.triangulationSource.points;
777
- d.ok = c.triangulationSource.triangles;
815
+ pn(a, b, c) {
816
+ return a;
778
817
  }
779
- else {
780
- super.ls(a, b);
818
+ rc() {
781
819
  }
782
- }
783
- register(a, b) {
784
- this.li(a, b);
785
- }
786
- unRegister(a) {
787
- this.ly(a);
788
- }
789
- deferredRefresh() {
790
- this.iv();
791
- }
792
- deferAction(a) {
793
- if (this.p4 != null) {
794
- this.p4.setTimeout(a, 0);
820
+ get sf() {
821
+ return this.r1;
795
822
  }
796
- else {
797
- window.setTimeout(a, 0);
823
+ set sf(a) {
824
+ this.r1 = a;
798
825
  }
799
- }
800
- qk(a) {
801
- this.l6(a);
802
- }
803
- p5() {
804
- let a = new ChartVisualData();
805
- let b = this.pf.e6();
806
- let c = this.ph.e6();
807
- a.axes.add1(b);
808
- a.axes.add1(c);
809
- for (let d = 0; d < this.series.count; d++) {
810
- let e = this.series._inner[d].gp();
811
- a.series.add1(e);
812
- }
813
- a.name = this.name;
814
- a.contentArea = RectData.b(this.o7);
815
- a.centralArea = RectData.b(this.o7);
816
- a.plotArea = RectData.b(this.o7);
817
- return a;
818
- }
819
- oz(a, b, c) {
820
- return a;
821
- }
822
- qo() {
823
- }
824
- get rr() {
825
- return this.rd;
826
- }
827
- set rr(a) {
828
- this.rd = a;
829
- }
830
- qy(a) {
831
- this.rr = a;
832
- this.qx();
833
- }
834
- qx() {
835
- if (this.py && !this.rr.isEmpty) {
836
- let a = this.getZoomFromGeographicRect(this.rr);
837
- this.rr = Rect.empty;
838
- this.mc(a, false);
826
+ rm(a) {
827
+ this.sf = a;
828
+ this.rl();
829
+ }
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);
835
+ }
836
+ }
837
+ get qm() {
838
+ return !this.pv.isEmpty && !this.pk.isEmpty;
839
839
  }
840
840
  }
841
- get py() {
842
- return !this.o7.isEmpty && !this.ow.isEmpty;
843
- }
844
- }
845
- XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
846
- XamGeographicMap.pp = 0;
847
- XamGeographicMap.rc = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
848
- XamGeographicMap.rf = new Rect(0, 0, 0, 1, 1);
849
- XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'k5', ['BackgroundTilingMode:pm:qz', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:pu:q0', [0, false], 'ResizeBehavior:pq:q1', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.pp)], 'SuppressZoomResetOnWorldRectChange:pv:q2', [0, false], 'UseWorldRectForZoomBounds:pw:q3', [0, false], 'WindowScale:p2:q4', [1, NaN], 'WorldRect:rs:q5', [Rect.$, XamGeographicMap.rc], 'Zoomable:px:q6', [0, true]]);
841
+ XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
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]]);
846
+ return XamGeographicMap;
847
+ })();
850
848
  /**
851
849
  * @hidden
852
850
  */
853
- export class GeographicMapImagery extends Control {
854
- constructor(a) {
855
- super();
856
- this.ak = null;
857
- this.imageTilesReady = null;
858
- this.an = null;
859
- this.ap = null;
860
- this.propertyChanged = null;
861
- this.imagesChanged = null;
862
- this.cancellingImage = null;
863
- this.downloadingImage = null;
864
- this.ab = GeographicMapImagery.$;
865
- this.ap = a;
866
- this.aj = this.ai();
867
- this.bb(this.aj);
868
- }
869
- bb(a) {
870
- }
871
- ai() {
872
- return new GeographicMapImageryView(this);
873
- }
874
- get deferralHandler() {
875
- return this.ak;
876
- }
877
- set deferralHandler(a) {
878
- this.ak = a;
879
- if (this.ao != null) {
880
- this.ao.al = a;
881
- }
882
- }
883
- a5(a, b) {
884
- if (this.imageTilesReady != null) {
885
- this.imageTilesReady(this, new ImageTilesReadyEventArgs());
851
+ export let GeographicMapImagery = /*@__PURE__*/ (() => {
852
+ class GeographicMapImagery extends Control {
853
+ constructor(a) {
854
+ super();
855
+ this.ak = null;
856
+ this.imageTilesReady = null;
857
+ this.an = null;
858
+ this.ap = null;
859
+ this.propertyChanged = null;
860
+ this.imagesChanged = null;
861
+ this.cancellingImage = null;
862
+ this.downloadingImage = null;
863
+ this.ab = GeographicMapImagery.$;
864
+ this.ap = a;
865
+ this.aj = this.ai();
866
+ this.bb(this.aj);
867
+ }
868
+ bb(a) {
869
+ }
870
+ ai() {
871
+ return new GeographicMapImageryView(this);
872
+ }
873
+ get deferralHandler() {
874
+ return this.ak;
875
+ }
876
+ set deferralHandler(a) {
877
+ this.ak = a;
878
+ if (this.ao != null) {
879
+ this.ao.al = a;
880
+ }
886
881
  }
887
- }
888
- a9() {
889
- let a = this.ao;
890
- a.imageTilesReady = delegateCombine(a.imageTilesReady, runOn(this, this.a5));
891
- this.ao.al = this.deferralHandler;
892
- let b = this.ao;
893
- b.imagesChanged = delegateCombine(b.imagesChanged, runOn(this, this.a4));
894
- let c = this.ao;
895
- c.downloadingImage = delegateCombine(c.downloadingImage, runOn(this, this.a3));
896
- let d = this.ao;
897
- d.cancellingImage = delegateCombine(d.cancellingImage, runOn(this, this.a2));
898
- this.ao.bf = this.referer;
899
- this.ao.bj = this.userAgent;
900
- this.ao.av = this.isHorizontalWrappingEnabled;
901
- }
902
- a3(a, b) {
903
- if (this.downloadingImage != null) {
904
- this.downloadingImage(this, b);
882
+ a5(a, b) {
883
+ if (this.imageTilesReady != null) {
884
+ this.imageTilesReady(this, new ImageTilesReadyEventArgs());
885
+ }
905
886
  }
906
- }
907
- a2(a, b) {
908
- if (this.cancellingImage != null) {
909
- this.cancellingImage(this, b);
887
+ a9() {
888
+ let a = this.ao;
889
+ a.imageTilesReady = delegateCombine(a.imageTilesReady, runOn(this, this.a5));
890
+ this.ao.al = this.deferralHandler;
891
+ let b = this.ao;
892
+ b.imagesChanged = delegateCombine(b.imagesChanged, runOn(this, this.a4));
893
+ let c = this.ao;
894
+ c.downloadingImage = delegateCombine(c.downloadingImage, runOn(this, this.a3));
895
+ let d = this.ao;
896
+ d.cancellingImage = delegateCombine(d.cancellingImage, runOn(this, this.a2));
897
+ this.ao.bf = this.referer;
898
+ this.ao.bj = this.userAgent;
899
+ this.ao.av = this.isHorizontalWrappingEnabled;
900
+ }
901
+ a3(a, b) {
902
+ if (this.downloadingImage != null) {
903
+ this.downloadingImage(this, b);
904
+ }
910
905
  }
911
- }
912
- bg() {
913
- if (this.ao != null) {
914
- this.aj.e();
906
+ a2(a, b) {
907
+ if (this.cancellingImage != null) {
908
+ this.cancellingImage(this, b);
909
+ }
915
910
  }
916
- }
917
- ba(a, b, c) {
918
- switch (a) {
919
- case GeographicMapImagery.$$p[3]:
920
- this.bg();
921
- break;
922
- case "GeographicMap":
911
+ bg() {
912
+ if (this.ao != null) {
923
913
  this.aj.e();
924
- break;
925
- case GeographicMapImagery.$$p[1]:
926
- if (this.ao != null) {
927
- this.ao.bf = this.referer;
928
- }
929
- break;
930
- case GeographicMapImagery.$$p[2]:
931
- if (this.ao != null) {
932
- this.ao.bj = this.userAgent;
933
- }
934
- break;
935
- case GeographicMapImagery.$$p[0]:
936
- if (this.ao != null) {
937
- this.ao.av = this.isHorizontalWrappingEnabled;
938
- }
939
- break;
914
+ }
940
915
  }
941
- if (this.propertyChanged != null) {
942
- this.propertyChanged(this, new PropertyChangedEventArgs(a));
916
+ ba(a, b, c) {
917
+ switch (a) {
918
+ case GeographicMapImagery.$$p[3]:
919
+ this.bg();
920
+ break;
921
+ case "GeographicMap":
922
+ this.aj.e();
923
+ break;
924
+ case GeographicMapImagery.$$p[1]:
925
+ if (this.ao != null) {
926
+ this.ao.bf = this.referer;
927
+ }
928
+ break;
929
+ case GeographicMapImagery.$$p[2]:
930
+ if (this.ao != null) {
931
+ this.ao.bj = this.userAgent;
932
+ }
933
+ break;
934
+ case GeographicMapImagery.$$p[0]:
935
+ if (this.ao != null) {
936
+ this.ao.av = this.isHorizontalWrappingEnabled;
937
+ }
938
+ break;
939
+ }
940
+ if (this.propertyChanged != null) {
941
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
942
+ }
943
943
  }
944
- }
945
- get geographicMap() {
946
- return this.c(GeographicMapImagery.geographicMapProperty);
947
- }
948
- set geographicMap(a) {
949
- this.h(GeographicMapImagery.geographicMapProperty, a);
950
- }
951
- static a8(a, b) {
952
- a.a7(b.oldValue, b.newValue);
953
- }
954
- a7(a, b) {
955
- this.ba("GeographicMap", a, b);
956
- }
957
- clearTileCache() {
958
- if (this.ao != null) {
959
- this.ao.bs(0, 0, 0, 0);
944
+ get geographicMap() {
945
+ return this.c(GeographicMapImagery.geographicMapProperty);
960
946
  }
961
- }
962
- get ao() {
963
- return this.an;
964
- }
965
- set ao(a) {
966
- this.an = a;
967
- if (this.propertyChanged != null) {
968
- this.propertyChanged(this, new PropertyChangedEventArgs("MultiScaleImage"));
947
+ set geographicMap(a) {
948
+ this.h(GeographicMapImagery.geographicMapProperty, a);
969
949
  }
970
- }
971
- bn(a) {
972
- if (this.geographicMap == null || a.width < 1 || a.height < 1) {
950
+ static a8(a, b) {
951
+ a.a7(b.oldValue, b.newValue);
952
+ }
953
+ a7(a, b) {
954
+ this.ba("GeographicMap", a, b);
955
+ }
956
+ clearTileCache() {
957
+ if (this.ao != null) {
958
+ this.ao.bs(0, 0, 0, 0);
959
+ }
960
+ }
961
+ get ao() {
962
+ return this.an;
963
+ }
964
+ set ao(a) {
965
+ this.an = a;
966
+ if (this.propertyChanged != null) {
967
+ this.propertyChanged(this, new PropertyChangedEventArgs("MultiScaleImage"));
968
+ }
969
+ }
970
+ bn(a) {
971
+ if (this.geographicMap == null || a.width < 1 || a.height < 1) {
972
+ return a;
973
+ }
974
+ let b = new Rect(0, 0, 0, a.width, a.height);
975
+ let c = this.geographicMap.r9(b);
976
+ let d = XamGeographicMap.r0;
977
+ let e = this.geographicMap.r4;
978
+ let f = Math.min(this.windowRect.height, this.windowRect.width);
979
+ let g = e.width / d.width;
980
+ this.ao.a5 = (b.width / c.width) * f * g;
981
+ let h = this.geographicMap.p3;
982
+ let i = this.geographicMap.p5;
983
+ let j = new ScalerParams(1, this.windowRect, b, h.cc);
984
+ j.c = c;
985
+ let k = new ScalerParams(1, this.windowRect, b, i.cc);
986
+ k.c = c;
987
+ let l = h.d8(d.left, j);
988
+ let m = i.d8(d.bottom, k);
989
+ let n = (-l / b.width) * this.ao.a5;
990
+ let o = (-m / b.height) * this.ao.a5 * (b.height / b.width);
991
+ this.ao.cm = { $type: Point_$type, x: n, y: o };
973
992
  return a;
974
993
  }
975
- let b = new Rect(0, 0, 0, a.width, a.height);
976
- let c = this.geographicMap.rl(b);
977
- let d = XamGeographicMap.rc;
978
- let e = this.geographicMap.rg;
979
- let f = Math.min(this.windowRect.height, this.windowRect.width);
980
- let g = e.width / d.width;
981
- this.ao.a5 = (b.width / c.width) * f * g;
982
- let h = this.geographicMap.pf;
983
- let i = this.geographicMap.ph;
984
- let j = new ScalerParams(1, this.windowRect, b, h.ca);
985
- j.c = c;
986
- let k = new ScalerParams(1, this.windowRect, b, i.ca);
987
- k.c = c;
988
- let l = h.dz(d.left, j);
989
- let m = i.dz(d.bottom, k);
990
- let n = (-l / b.width) * this.ao.a5;
991
- let o = (-m / b.height) * this.ao.a5 * (b.height / b.width);
992
- this.ao.cm = { $type: Point_$type, x: n, y: o };
993
- return a;
994
- }
995
- bd(a) {
996
- this.aj.f(a);
997
- }
998
- bf(a) {
999
- this.aj.h(a);
1000
- }
1001
- be(a) {
1002
- this.aj.g(a);
1003
- }
1004
- a4(a, b) {
1005
- if (this.imagesChanged != null) {
1006
- this.imagesChanged(this, new ImagesChangedEventArgs());
994
+ bd(a) {
995
+ this.aj.f(a);
996
+ }
997
+ bf(a) {
998
+ this.aj.h(a);
999
+ }
1000
+ be(a) {
1001
+ this.aj.g(a);
1002
+ }
1003
+ a4(a, b) {
1004
+ if (this.imagesChanged != null) {
1005
+ this.imagesChanged(this, new ImagesChangedEventArgs());
1006
+ }
1007
+ }
1008
+ a6() {
1009
+ this.aj.e();
1010
+ }
1011
+ bc(a) {
1012
+ this.aj.i(a);
1013
+ }
1014
+ v() {
1015
+ super.v();
1016
+ this.ap.o = this._opacity;
1007
1017
  }
1008
1018
  }
1009
- a6() {
1010
- this.aj.e();
1011
- }
1012
- bc(a) {
1013
- this.aj.i(a);
1014
- }
1015
- v() {
1016
- super.v();
1017
- this.ap.o = this._opacity;
1018
- }
1019
- }
1020
- GeographicMapImagery.$t = markType(GeographicMapImagery, 'GeographicMapImagery', Control.$, [INotifyPropertyChanged_$type]);
1021
- GeographicMapImagery.geographicMapProperty = DependencyProperty.i("GeographicMap", XamGeographicMap.$, GeographicMapImagery.$, new PropertyMetadata(2, null, GeographicMapImagery.a8));
1022
- GeographicMapImagery.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicMapImagery, 'ba', ['IsHorizontalWrappingEnabled', [0, false], 'Referer', [2, null], 'UserAgent', [2, null], 'WindowRect', [Rect.$, Rect.empty]]);
1019
+ GeographicMapImagery.$t = markType(GeographicMapImagery, 'GeographicMapImagery', Control.$, [INotifyPropertyChanged_$type]);
1020
+ GeographicMapImagery.geographicMapProperty = DependencyProperty.i("GeographicMap", XamGeographicMap.$, GeographicMapImagery.$, new PropertyMetadata(2, null, GeographicMapImagery.a8));
1021
+ GeographicMapImagery.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicMapImagery, 'ba', ['IsHorizontalWrappingEnabled', [0, false], 'Referer', [2, null], 'UserAgent', [2, null], 'WindowRect', [Rect.$, Rect.empty]]);
1022
+ return GeographicMapImagery;
1023
+ })();
1023
1024
  /**
1024
1025
  * @hidden
1025
1026
  */
1026
- export class GeographicMapImageryView extends Base {
1027
- constructor(a) {
1028
- super();
1029
- this.a = null;
1030
- this.j = null;
1031
- this.d = null;
1032
- this.b = 1;
1033
- this.j = Rect.empty;
1034
- this.a = a;
1035
- this.a.ao = new XamMultiScaleImage();
1036
- this.a.ao.ao = this.a.ap;
1037
- this.a.a9();
1038
- }
1039
- e() {
1040
- if (this.j.isEmpty) {
1041
- return;
1027
+ export let GeographicMapImageryView = /*@__PURE__*/ (() => {
1028
+ class GeographicMapImageryView extends Base {
1029
+ constructor(a) {
1030
+ super();
1031
+ this.a = null;
1032
+ this.j = null;
1033
+ this.d = null;
1034
+ this.b = 1;
1035
+ this.j = Rect.empty;
1036
+ this.a = a;
1037
+ this.a.ao = new XamMultiScaleImage();
1038
+ this.a.ao.ao = this.a.ap;
1039
+ this.a.a9();
1040
+ }
1041
+ e() {
1042
+ if (this.j.isEmpty) {
1043
+ return;
1044
+ }
1045
+ this.a.bn(new Size(1, this.j.width, this.j.height));
1046
+ }
1047
+ f(a) {
1048
+ this.a.ao.b1(a);
1049
+ }
1050
+ g(a) {
1051
+ this.d = a;
1052
+ this.a.ao.b2(a);
1053
+ }
1054
+ h(a) {
1055
+ this.j = a;
1056
+ this.a.ao.b3(a);
1057
+ this.a.a6();
1058
+ }
1059
+ get c() {
1060
+ return this.b;
1061
+ }
1062
+ i(a) {
1063
+ this.b = a;
1064
+ this.a.ao.bz(a);
1042
1065
  }
1043
- this.a.bn(new Size(1, this.j.width, this.j.height));
1044
- }
1045
- f(a) {
1046
- this.a.ao.b1(a);
1047
- }
1048
- g(a) {
1049
- this.d = a;
1050
- this.a.ao.b2(a);
1051
- }
1052
- h(a) {
1053
- this.j = a;
1054
- this.a.ao.b3(a);
1055
- this.a.a6();
1056
- }
1057
- get c() {
1058
- return this.b;
1059
- }
1060
- i(a) {
1061
- this.b = a;
1062
- this.a.ao.bz(a);
1063
1066
  }
1064
- }
1065
- GeographicMapImageryView.$t = markType(GeographicMapImageryView, 'GeographicMapImageryView');
1067
+ GeographicMapImageryView.$t = markType(GeographicMapImageryView, 'GeographicMapImageryView');
1068
+ return GeographicMapImageryView;
1069
+ })();
1066
1070
  /**
1067
1071
  * @hidden
1068
1072
  */
1069
- export class GeographicXYTriangulatingSeriesView extends HostSeriesView {
1070
- constructor(a) {
1071
- super(a);
1072
- this.b3 = null;
1073
- this.b3 = a;
1074
- }
1075
- by() {
1076
- super.by();
1077
- let a = this.b3.ob;
1078
- a.o7 = this.b3.on;
1079
- a.pb = this.b3.ol;
1080
- a.trianglesSource = this.b3.ok;
1081
- a.oz = this.b3.oq;
1082
- a.o1 = this.b3.os;
1083
- a.o3 = this.b3.ou;
1084
- }
1085
- b6() {
1086
- let a = this.b3.ob;
1087
- if (this.b3.b6 == null) {
1088
- a.n9 = null;
1089
- a.oa = null;
1090
- return;
1091
- }
1092
- a.n9 = this.b3.b6.pf;
1093
- a.oa = this.b3.b6.ph;
1094
- }
1095
- b5() {
1096
- this.b3.ob.o7 = this.b3.on;
1097
- }
1098
- b4() {
1099
- this.b3.ob.pb = this.b3.ol;
1100
- }
1101
- b7() {
1102
- this.b3.ob.trianglesSource = this.b3.ok;
1103
- }
1104
- b8() {
1105
- this.b3.ob.oz = this.b3.oq;
1106
- }
1107
- b9() {
1108
- this.b3.ob.o1 = this.b3.os;
1109
- }
1110
- ca() {
1111
- this.b3.ob.o3 = this.b3.ou;
1073
+ export let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
1074
+ class GeographicXYTriangulatingSeriesView extends HostSeriesView {
1075
+ constructor(a) {
1076
+ super(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;
1095
+ return;
1096
+ }
1097
+ a.pi = this.ce.ca.p3;
1098
+ a.pj = this.ce.ca.p5;
1099
+ }
1100
+ cg() {
1101
+ this.ce.pk.qg = this.ce.pw;
1102
+ }
1103
+ cf() {
1104
+ this.ce.pk.qk = this.ce.pu;
1105
+ }
1106
+ ci() {
1107
+ this.ce.pk.trianglesSource = this.ce.pt;
1108
+ }
1109
+ cj() {
1110
+ this.ce.pk.p8 = this.ce.pz;
1111
+ }
1112
+ ck() {
1113
+ this.ce.pk.qa = this.ce.p1;
1114
+ }
1115
+ cl() {
1116
+ this.ce.pk.qc = this.ce.p3;
1117
+ }
1112
1118
  }
1113
- }
1114
- GeographicXYTriangulatingSeriesView.$t = markType(GeographicXYTriangulatingSeriesView, 'GeographicXYTriangulatingSeriesView', HostSeriesView.$);
1119
+ GeographicXYTriangulatingSeriesView.$t = markType(GeographicXYTriangulatingSeriesView, 'GeographicXYTriangulatingSeriesView', HostSeriesView.$);
1120
+ return GeographicXYTriangulatingSeriesView;
1121
+ })();
1115
1122
  /**
1116
1123
  * @hidden
1117
1124
  */
1118
- export class GeographicScatterAreaSeriesView extends GeographicXYTriangulatingSeriesView {
1119
- constructor(a) {
1120
- super(a);
1121
- this.cb = null;
1122
- this.cb = a;
1123
- }
1124
- by() {
1125
- super.by();
1126
- if (this.cb.o4 != null) {
1127
- this.cb.o4.p2 = this.cb.o7;
1128
- this.cb.o4.pu = this.cb.o3;
1125
+ export let GeographicScatterAreaSeriesView = /*@__PURE__*/ (() => {
1126
+ class GeographicScatterAreaSeriesView extends GeographicXYTriangulatingSeriesView {
1127
+ constructor(a) {
1128
+ super(a);
1129
+ this.cm = null;
1130
+ this.cm = a;
1131
+ }
1132
+ as() {
1133
+ super.as();
1134
+ if (!this.q) {
1135
+ }
1129
1136
  }
1130
- }
1131
- cc() {
1132
- if (this.cb.o4 != null) {
1133
- this.cb.o4.p2 = this.cb.o7;
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
+ }
1134
1143
  }
1135
- }
1136
- cd() {
1137
- if (this.cb.o4 != null) {
1138
- this.cb.o4.pu = this.cb.o3;
1144
+ cn() {
1145
+ if (this.cm.qe != null) {
1146
+ this.cm.qe.rb = this.cm.qi;
1147
+ }
1148
+ }
1149
+ co() {
1150
+ if (this.cm.qe != null) {
1151
+ this.cm.qe.q3 = this.cm.qd;
1152
+ }
1139
1153
  }
1140
1154
  }
1141
- }
1142
- GeographicScatterAreaSeriesView.$t = markType(GeographicScatterAreaSeriesView, 'GeographicScatterAreaSeriesView', GeographicXYTriangulatingSeriesView.$);
1155
+ GeographicScatterAreaSeriesView.$t = markType(GeographicScatterAreaSeriesView, 'GeographicScatterAreaSeriesView', GeographicXYTriangulatingSeriesView.$);
1156
+ return GeographicScatterAreaSeriesView;
1157
+ })();
1143
1158
  /**
1144
1159
  * @hidden
1145
1160
  */
1146
- export class XamGeographicMapView extends SeriesViewerView {
1147
- constructor(a) {
1148
- super(a);
1149
- this.fi = null;
1150
- this.fy = null;
1151
- this.fs = null;
1152
- this.fr = null;
1153
- this.fj = null;
1154
- this.fk = NaN;
1155
- this.fy = Rect.empty;
1156
- this.fi = a;
1157
- this.fi.n0 = 2;
1158
- this.fi.fw = 5E-06;
1159
- }
1160
- m(a) {
1161
- return 2;
1162
- }
1163
- bk(a) {
1164
- this.j.bv(a);
1165
- this.fi.qk(a);
1166
- this.ei();
1167
- }
1168
- get_ap() {
1169
- return true;
1170
- }
1171
- d1() {
1172
- let a;
1173
- let b;
1174
- let c;
1175
- let d;
1176
- let e;
1177
- let f = this.j.a7(a, b, c, d, e);
1178
- a = f.p0;
1179
- b = f.p1;
1180
- c = f.p2;
1181
- d = f.p3;
1182
- e = f.p4;
1183
- this.fs = c;
1184
- this.fj = d;
1185
- this.fr = e;
1186
- }
1187
- fu(a) {
1188
- return ((() => {
1189
- let $ret = new Brush();
1190
- $ret.fill = "#8bdc5c";
1191
- return $ret;
1192
- })());
1193
- }
1194
- fv(a) {
1195
- return ((() => {
1196
- let $ret = new Brush();
1197
- $ret.fill = "#8bdc5c";
1198
- return $ret;
1199
- })());
1200
- }
1201
- ft(a) {
1202
- return ((() => {
1203
- let $ret = new Brush();
1204
- $ret.fill = "rgba(50,50,50,.5)";
1205
- return $ret;
1206
- })());
1207
- }
1208
- fw(a) {
1209
- return ((() => {
1210
- let $ret = new Brush();
1211
- $ret.fill = "white";
1212
- return $ret;
1213
- })());
1214
- }
1215
- dr(a) {
1216
- super.dr(a);
1217
- if (this.fi.backgroundContent != null) {
1218
- let b = this.fi.backgroundContent;
1219
- b.be(this.j.ae);
1220
- b.bd(a);
1161
+ export let XamGeographicMapView = /*@__PURE__*/ (() => {
1162
+ class XamGeographicMapView extends SeriesViewerView {
1163
+ constructor(a) {
1164
+ super(a);
1165
+ this.fi = null;
1166
+ this.fu = null;
1167
+ this.fs = null;
1168
+ this.fr = null;
1169
+ this.fj = null;
1170
+ this.fk = NaN;
1171
+ this.fu = Rect.empty;
1172
+ this.fi = a;
1173
+ this.fi.on = 2;
1174
+ this.fi.f5 = 5E-06;
1175
+ }
1176
+ m(a) {
1177
+ return 2;
1178
+ }
1179
+ bk(a) {
1180
+ this.j.bv(a);
1181
+ this.fi.q8(a);
1182
+ this.ei();
1183
+ }
1184
+ get_ap() {
1185
+ return true;
1186
+ }
1187
+ d1() {
1188
+ let a;
1189
+ let b;
1190
+ let c;
1191
+ let d;
1192
+ let e;
1193
+ let f = this.j.a7(a, b, c, d, e);
1194
+ a = f.p0;
1195
+ b = f.p1;
1196
+ c = f.p2;
1197
+ d = f.p3;
1198
+ e = f.p4;
1199
+ this.fs = c;
1200
+ this.fj = d;
1201
+ this.fr = e;
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
+ }
1221
1217
  }
1222
- }
1223
- ds(a) {
1224
- super.ds(a);
1225
- this.fy = a;
1226
- if (this.fi.backgroundContent != null) {
1227
- let b = this.fi.backgroundContent;
1228
- b.bf(this.fy);
1218
+ dr(a) {
1219
+ super.dr(a);
1220
+ if (this.fi.backgroundContent != null) {
1221
+ let b = this.fi.backgroundContent;
1222
+ b.be(this.j.ae);
1223
+ b.bd(a);
1224
+ }
1229
1225
  }
1230
- }
1231
- fx() {
1232
- return new Rect(0, 0, 0, this.fy.width, this.fy.height);
1233
- }
1234
- fn() {
1235
- if (this.fi.backgroundContent != null) {
1236
- let a = this.fi.backgroundContent;
1237
- a.a6();
1226
+ ds(a) {
1227
+ super.ds(a);
1228
+ this.fu = a;
1229
+ if (this.fi.backgroundContent != null) {
1230
+ let b = this.fi.backgroundContent;
1231
+ b.bf(this.fu);
1232
+ }
1238
1233
  }
1239
- }
1240
- fm(a) {
1241
- if (this.fi.pk != null) {
1242
- this.fi.pk.windowRect = a;
1234
+ ft() {
1235
+ return new Rect(0, 0, 0, this.fu.width, this.fu.height);
1243
1236
  }
1244
- }
1245
- fp(a, b) {
1246
- if (this.fi.pk != null) {
1247
- this.fi.pk.windowRect = this.fi.os;
1237
+ fn() {
1238
+ if (this.fi.backgroundContent != null) {
1239
+ let a = this.fi.backgroundContent;
1240
+ a.a6();
1241
+ }
1248
1242
  }
1249
- if (a != null) {
1250
- let c = a.ao;
1251
- if (c != null) {
1252
- this.fi.ah.e.remove(c.ag);
1243
+ fm(a) {
1244
+ if (this.fi.p8 != null) {
1245
+ this.fi.p8.windowRect = a;
1253
1246
  }
1254
- a.bd(null);
1255
- a.be(null);
1256
1247
  }
1257
- if (b != null) {
1258
- let d = b.ao;
1259
- if (d != null) {
1260
- this.fi.ah.e.add(d.ag);
1248
+ fp(a, b) {
1249
+ if (this.fi.p8 != null) {
1250
+ this.fi.p8.windowRect = this.fi.pg;
1251
+ }
1252
+ if (a != null) {
1253
+ let c = a.ao;
1254
+ if (c != null) {
1255
+ this.fi.al.e.remove(c.ag);
1256
+ }
1257
+ a.bd(null);
1258
+ a.be(null);
1261
1259
  }
1262
- if (!this.fy.isEmpty) {
1263
- this.ds(this.fy);
1260
+ if (b != null) {
1261
+ let d = b.ao;
1262
+ if (d != null) {
1263
+ this.fi.al.e.add(d.ag);
1264
+ }
1265
+ if (!this.fu.isEmpty) {
1266
+ this.ds(this.fu);
1267
+ }
1268
+ if (this.w != null) {
1269
+ this.dr(this.w);
1270
+ }
1264
1271
  }
1265
- if (this.w != null) {
1266
- this.dr(this.w);
1272
+ if (b == null) {
1273
+ this.fo(this.w);
1267
1274
  }
1268
1275
  }
1269
- if (b == null) {
1270
- this.fo(this.w);
1276
+ fo(a) {
1277
+ let b = this.fi.fh;
1278
+ if (b != 1) {
1279
+ a.z();
1280
+ a.aa(b, b);
1281
+ }
1282
+ a.k(this.fu.left, this.fu.top, this.fu.width, this.fu.height);
1283
+ if (b != 1) {
1284
+ a.y();
1285
+ }
1271
1286
  }
1272
- }
1273
- fo(a) {
1274
- let b = this.fi.e8;
1275
- if (b != 1) {
1276
- a.z();
1277
- a.aa(b, b);
1287
+ dy() {
1288
+ this.fa.ac = Defaults.j;
1289
+ this.fb.ac = Defaults.j;
1290
+ this.fa._stroke = Defaults.ae;
1291
+ this.fb._stroke = Defaults.ae;
1292
+ super.dy();
1293
+ }
1294
+ fq(a) {
1295
+ this.fk = a;
1296
+ if (this.fi.backgroundContent != null) {
1297
+ this.fi.backgroundContent.bc(a);
1298
+ }
1278
1299
  }
1279
- a.k(this.fy.left, this.fy.top, this.fy.width, this.fy.height);
1280
- if (b != 1) {
1281
- a.y();
1300
+ get fl() {
1301
+ return this.fk;
1282
1302
  }
1283
- }
1284
- dy() {
1285
- this.fa.ac = 1;
1286
- this.fb.ac = 1;
1287
- this.fa._stroke = this.fs;
1288
- this.fb._stroke = this.fs;
1289
- super.dy();
1290
- }
1291
- fq(a) {
1292
- this.fk = a;
1293
- if (this.fi.backgroundContent != null) {
1294
- this.fi.backgroundContent.bc(a);
1303
+ set fl(a) {
1304
+ this.fk = a;
1295
1305
  }
1296
1306
  }
1297
- get fl() {
1298
- return this.fk;
1299
- }
1300
- set fl(a) {
1301
- this.fk = a;
1302
- }
1303
- }
1304
- XamGeographicMapView.$t = markType(XamGeographicMapView, 'XamGeographicMapView', SeriesViewerView.$);
1307
+ XamGeographicMapView.$t = markType(XamGeographicMapView, 'XamGeographicMapView', SeriesViewerView.$);
1308
+ return XamGeographicMapView;
1309
+ })();
1305
1310
  /**
1306
1311
  * @hidden
1307
1312
  */
1308
- export class OpenStreetMapImagery extends GeographicMapImagery {
1309
- constructor() {
1310
- super(new OpenStreetMapTileSource());
1311
- }
1312
- get tilePath() {
1313
- return this.c(OpenStreetMapImagery.tilePathProperty);
1314
- }
1315
- set tilePath(a) {
1316
- this.h(OpenStreetMapImagery.tilePathProperty, a);
1317
- }
1318
- static br(a, b) {
1319
- a.bq("TilePath", b.oldValue, b.newValue);
1320
- }
1321
- bq(a, b, c) {
1322
- switch (a) {
1323
- case "TilePath":
1324
- this.ap.setTilePathUrl(c == null ? null : c);
1325
- this.aj.e();
1326
- break;
1313
+ export let OpenStreetMapImagery = /*@__PURE__*/ (() => {
1314
+ class OpenStreetMapImagery extends GeographicMapImagery {
1315
+ constructor() {
1316
+ super(new OpenStreetMapTileSource());
1317
+ }
1318
+ get tilePath() {
1319
+ return this.c(OpenStreetMapImagery.tilePathProperty);
1320
+ }
1321
+ set tilePath(a) {
1322
+ this.h(OpenStreetMapImagery.tilePathProperty, a);
1323
+ }
1324
+ static br(a, b) {
1325
+ a.bq("TilePath", b.oldValue, b.newValue);
1326
+ }
1327
+ bq(a, b, c) {
1328
+ switch (a) {
1329
+ case "TilePath":
1330
+ this.ap.setTilePathUrl(c == null ? null : c);
1331
+ this.aj.e();
1332
+ break;
1333
+ }
1334
+ super.ba(a, b, c);
1327
1335
  }
1328
- super.ba(a, b, c);
1329
1336
  }
1330
- }
1331
- OpenStreetMapImagery.$t = markType(OpenStreetMapImagery, 'OpenStreetMapImagery', GeographicMapImagery.$);
1332
- OpenStreetMapImagery.tilePathProperty = DependencyProperty.i("TilePath", String_$type, OpenStreetMapImagery.$, new PropertyMetadata(2, null, OpenStreetMapImagery.br));
1337
+ OpenStreetMapImagery.$t = markType(OpenStreetMapImagery, 'OpenStreetMapImagery', GeographicMapImagery.$);
1338
+ OpenStreetMapImagery.tilePathProperty = DependencyProperty.i("TilePath", String_$type, OpenStreetMapImagery.$, new PropertyMetadata(2, null, OpenStreetMapImagery.br));
1339
+ return OpenStreetMapImagery;
1340
+ })();
1333
1341
  /**
1334
1342
  * @hidden
1335
1343
  */
1336
- export class GeographicXYTriangulatingSeries extends GeographicMapSeriesHost {
1337
- bp() {
1338
- return new GeographicXYTriangulatingSeriesView(this);
1339
- }
1340
- kk(a) {
1341
- super.kk(a);
1342
- this.oj = a;
1343
- }
1344
- kp(a, b, c, d) {
1345
- super.kp(a, b, c, d);
1346
- switch (b) {
1347
- case "SeriesViewer":
1348
- this.oj.b6();
1349
- break;
1350
- case GeographicXYTriangulatingSeries.$$p[1]:
1351
- this.oj.b5();
1352
- break;
1353
- case GeographicXYTriangulatingSeries.$$p[0]:
1354
- this.oj.b4();
1355
- break;
1356
- case GeographicXYTriangulatingSeries.$$p[2]:
1357
- this.oj.b7();
1358
- break;
1359
- case GeographicXYTriangulatingSeries.$$p[3]:
1360
- this.oj.b8();
1361
- break;
1362
- case GeographicXYTriangulatingSeries.$$p[4]:
1363
- this.oj.b9();
1364
- break;
1365
- case GeographicXYTriangulatingSeries.$$p[5]:
1366
- this.oj.ca();
1367
- break;
1344
+ export let GeographicXYTriangulatingSeries = /*@__PURE__*/ (() => {
1345
+ class GeographicXYTriangulatingSeries extends GeographicMapSeriesHost {
1346
+ bu() {
1347
+ return new GeographicXYTriangulatingSeriesView(this);
1348
+ }
1349
+ lh(a) {
1350
+ super.lh(a);
1351
+ this.ps = a;
1352
+ }
1353
+ lm(a, b, c, d) {
1354
+ super.lm(a, b, c, d);
1355
+ switch (b) {
1356
+ case "SeriesViewer":
1357
+ this.ps.ch();
1358
+ break;
1359
+ case GeographicXYTriangulatingSeries.$$p[1]:
1360
+ this.ps.cg();
1361
+ break;
1362
+ case GeographicXYTriangulatingSeries.$$p[0]:
1363
+ this.ps.cf();
1364
+ break;
1365
+ case GeographicXYTriangulatingSeries.$$p[2]:
1366
+ this.ps.ci();
1367
+ break;
1368
+ case GeographicXYTriangulatingSeries.$$p[3]:
1369
+ this.ps.cj();
1370
+ break;
1371
+ case GeographicXYTriangulatingSeries.$$p[4]:
1372
+ this.ps.ck();
1373
+ break;
1374
+ case GeographicXYTriangulatingSeries.$$p[5]:
1375
+ this.ps.cl();
1376
+ break;
1377
+ }
1368
1378
  }
1369
1379
  }
1370
- }
1371
- GeographicXYTriangulatingSeries.$t = markType(GeographicXYTriangulatingSeries, 'GeographicXYTriangulatingSeries', GeographicMapSeriesHost.$);
1372
- GeographicXYTriangulatingSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicXYTriangulatingSeries, 'raisePropertyChanged', ['LatitudeMemberPath:ol:ow', [2, "pointY"], 'LongitudeMemberPath:on:ox', [2, "pointX"], 'TrianglesSource:ok:oy', [IEnumerable_$type, null], 'TriangleVertexMemberPath1:oq:oz', [2, "v1"], 'TriangleVertexMemberPath2:os:o0', [2, "v2"], 'TriangleVertexMemberPath3:ou:o1', [2, "v3"]]);
1380
+ GeographicXYTriangulatingSeries.$t = markType(GeographicXYTriangulatingSeries, 'GeographicXYTriangulatingSeries', GeographicMapSeriesHost.$);
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"]]);
1382
+ return GeographicXYTriangulatingSeries;
1383
+ })();
1373
1384
  /**
1374
1385
  * @hidden
1375
1386
  */
1376
- export class GeographicScatterAreaSeries extends GeographicXYTriangulatingSeries {
1377
- constructor() {
1378
- super();
1379
- this.o2 = null;
1380
- this.triangulationStatusChanged = null;
1381
- this.ab = GeographicScatterAreaSeries.$;
1382
- }
1383
- get o3() {
1384
- return this.o2;
1385
- }
1386
- set o3(a) {
1387
- let b = this.o2 != a;
1388
- if (b) {
1389
- let c = this.o2;
1390
- this.o2 = a;
1391
- this.raisePropertyChanged("ColorScale", c, this.o2);
1392
- if (this.o4 != null) {
1393
- this.o4.pu = a;
1387
+ export let GeographicScatterAreaSeries = /*@__PURE__*/ (() => {
1388
+ class GeographicScatterAreaSeries extends GeographicXYTriangulatingSeries {
1389
+ constructor() {
1390
+ super();
1391
+ this.qb = null;
1392
+ this.triangulationStatusChanged = null;
1393
+ this.ab = GeographicScatterAreaSeries.$;
1394
+ }
1395
+ get_c7() {
1396
+ return true;
1397
+ }
1398
+ get qd() {
1399
+ return this.qb;
1400
+ }
1401
+ set qd(a) {
1402
+ let b = this.qb != a;
1403
+ if (b) {
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;
1417
+ }
1394
1418
  }
1395
1419
  }
1396
- }
1397
- oa() {
1398
- this.o4 = new ScatterAreaSeries();
1399
- let a = this.o4;
1400
- a.triangulationStatusChanged = delegateCombine(a.triangulationStatusChanged, runOn(this, this.pa));
1401
- return this.o4;
1402
- }
1403
- pa(a, b) {
1404
- if (this.triangulationStatusChanged != null) {
1405
- this.triangulationStatusChanged(this, b);
1420
+ ql(a, b) {
1421
+ this.qg.co();
1422
+ this.qn();
1423
+ this.l0(false);
1406
1424
  }
1407
- }
1408
- bp() {
1409
- return new GeographicScatterAreaSeriesView(this);
1410
- }
1411
- kk(a) {
1412
- super.kk(a);
1413
- this.o6 = a;
1414
- }
1415
- kp(a, b, c, d) {
1416
- super.kp(a, b, c, d);
1417
- switch (b) {
1418
- case GeographicScatterAreaSeries.$$p[0]:
1419
- this.o6.cc();
1420
- break;
1421
- case "ColorScale":
1422
- this.o6.cd();
1423
- break;
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;
1439
+ }
1440
+ qm(a, b) {
1441
+ if (this.triangulationStatusChanged != null) {
1442
+ this.triangulationStatusChanged(this, b);
1443
+ }
1444
+ }
1445
+ bu() {
1446
+ return new GeographicScatterAreaSeriesView(this);
1447
+ }
1448
+ lh(a) {
1449
+ super.lh(a);
1450
+ this.qg = a;
1451
+ }
1452
+ lm(a, b, c, d) {
1453
+ super.lm(a, b, c, d);
1454
+ switch (b) {
1455
+ case GeographicScatterAreaSeries.$$p[1]:
1456
+ this.qg.cn();
1457
+ break;
1458
+ case "ColorScale":
1459
+ this.qg.co();
1460
+ this.qn();
1461
+ break;
1462
+ }
1463
+ }
1464
+ get_ex() {
1465
+ return true;
1466
+ }
1467
+ set_ex(a) {
1468
+ super.set_ex(a);
1424
1469
  }
1425
1470
  }
1426
- get_d6() {
1427
- return true;
1428
- }
1429
- set_d6(a) {
1430
- super.set_d6(a);
1431
- }
1432
- }
1433
- GeographicScatterAreaSeries.$t = markType(GeographicScatterAreaSeries, 'GeographicScatterAreaSeries', GeographicXYTriangulatingSeries.$);
1434
- GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ColorMemberPath:o7:pb', [2, "value"]]);
1435
- //# sourceMappingURL=XamGeographicMap_combined.js.map
1471
+ GeographicScatterAreaSeries.$t = markType(GeographicScatterAreaSeries, 'GeographicScatterAreaSeries', GeographicXYTriangulatingSeries.$);
1472
+ GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ActualColorScale:qc:qo', [ColorScale.$, null], 'ColorMemberPath:qi:qp', [2, "value"]]);
1473
+ return GeographicScatterAreaSeries;
1474
+ })();
1475
+ //# sourceMappingURL=XamGeographicMap_combined.js.map