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
@@ -1,688 +1,645 @@
1
- /*
2
- THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
- https://www.infragistics.com/legal/license/igultimate-la
4
- https://www.infragistics.com/legal/license/igultimate-eula
5
- GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
- */
7
- var IgxGeographicMapComponent_1;
8
- import * as tslib_1 from "tslib";
9
- import { EventEmitter, Output, Injector, ComponentFactoryResolver, Component, Renderer2, ViewChild, ContentChildren, QueryList, Input, forwardRef, NgZone, ChangeDetectionStrategy, ViewContainerRef } from '@angular/core';
10
- import { IgxSeriesComponent } from "igniteui-angular-charts";
11
- import { IgxSeriesViewerComponent } from "igniteui-angular-charts";
12
- import { AngularRenderer, AngularWrapper } from "igniteui-angular-core";
13
- import { TypeRegistrar } from "igniteui-angular-core";
14
- import { XamGeographicMap } from './XamGeographicMap';
15
- import { CollectionAdapter, toPoint, fromPoint, toRect, fromRect, ensureBool, ensureEnum, NamePatcher } from "igniteui-angular-core";
16
- import { DataChartStylingDefaults } from "igniteui-angular-charts";
17
- import { IgxDataContext } from "igniteui-angular-core";
18
- import { delegateCombine } from "igniteui-angular-core";
19
- import { IgxSeriesCollection } from "igniteui-angular-charts";
20
- import { NotifyCollectionChangedAction } from "igniteui-angular-core";
21
- import { IgxImageTilesReadyEventArgs } from './igx-image-tiles-ready-event-args';
22
- import { IgxNumericXAxisComponent } from "igniteui-angular-charts";
23
- import { IgxNumericYAxisComponent } from "igniteui-angular-charts";
24
- import { MapResizeBehavior, MapResizeBehavior_$type } from './MapResizeBehavior';
25
- import { MapBackgroundTilingMode, MapBackgroundTilingMode_$type } from './MapBackgroundTilingMode';
26
- export const IgxGeographicMapComponent_PROVIDERS = [{ provide: IgxSeriesViewerComponent, useExisting: forwardRef(() => IgxGeographicMapComponent) }];
27
- /**
28
- * Represents the Infragistics IgxGeographicMapComponent control.
29
- */
30
- let IgxGeographicMapComponent = IgxGeographicMapComponent_1 = class IgxGeographicMapComponent extends IgxSeriesViewerComponent {
31
- constructor(_renderer, _elRef, _ngZone, _componentFactoryResolver, _injector) {
32
- super();
33
- this._renderer = _renderer;
34
- this._elRef = _elRef;
35
- this._ngZone = _ngZone;
36
- this._componentFactoryResolver = _componentFactoryResolver;
37
- this._injector = _injector;
38
- /**
39
- * The series actually present in the chart. Do not directly modify this array.
40
- * This array's contents can be modified by causing Angular to reproject the child content.
41
- * Or adding and removing series from the manual series collection on the series property.
42
- */
43
- this.actualSeries = [];
44
- this._series = null;
45
- this._dataSource = null;
46
- this._seriesAdapter = null;
47
- this._defaultTooltips = null;
48
- this._imageTilesReady = null;
49
- if (this._styling) {
50
- NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
51
- }
52
- this._zoneRunner = (act) => this._ngZone.run(act);
53
- this._container = _renderer.createElement("div");
54
- _renderer.appendChild(_elRef.element.nativeElement, this._container);
55
- _renderer.setStyle(this._container, "display", "block");
56
- _renderer.setStyle(this._container, "width", "100%");
57
- _renderer.setStyle(this._container, "height", "100%");
58
- var root;
59
- root = this._container;
60
- if (this._container.nativeElement != null) {
61
- root = this._container.nativeElement;
62
- }
63
- var ren = new AngularRenderer(root, this._renderer, window.document, this._ngZone, true, DataChartStylingDefaults);
64
- this._wrapper = ren;
65
- var chart = this.i;
66
- this._chart = chart;
67
- chart.provideContainer(ren);
68
- ren.addSizeWatcher(() => {
69
- this._chart.notifyContainerResized();
70
- });
71
- }
72
- set height(value) {
73
- this._height = value;
74
- this._renderer.setStyle(this._elRef.element.nativeElement, "height", value);
75
- this._chart.notifyContainerResized();
76
- }
77
- get height() {
78
- return this._height;
79
- }
80
- set width(value) {
81
- this._width = value;
82
- this._renderer.setStyle(this._elRef.element.nativeElement, "width", value);
83
- this._chart.notifyContainerResized();
84
- }
85
- get width() {
86
- return this._width;
87
- }
88
- /**
89
- * Gets or sets the legend used for the current chart.
90
- */
91
- get legend() {
92
- if (this.i.legend != null)
93
- return this.i.legend.externalObject;
94
- }
95
- set legend(v) {
96
- if (v != undefined && v != null)
97
- this.i.legend = v.i;
98
- }
99
- /**
100
- * A collection or manually added series for the chart.
101
- */
102
- get series() {
103
- if (this._series === null) {
104
- let coll = new IgxSeriesCollection();
105
- let inner = coll._innerColl;
106
- inner.addListener((sender, e) => {
107
- switch (e.action) {
108
- case NotifyCollectionChangedAction.Add:
109
- this._seriesAdapter.addManualItem(e.newItems.item(0));
110
- break;
111
- case NotifyCollectionChangedAction.Remove:
112
- this._seriesAdapter.removeManualItemAt(e.oldStartingIndex);
113
- break;
114
- case NotifyCollectionChangedAction.Replace:
115
- this._seriesAdapter.removeManualItemAt(e.oldStartingIndex);
116
- this._seriesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
117
- break;
118
- case NotifyCollectionChangedAction.Reset:
119
- this._seriesAdapter.clearManualItems();
120
- break;
121
- }
122
- });
123
- this._series = coll;
124
- }
125
- return this._series;
126
- }
127
- ngOnDestroy() {
128
- this._chart.destroy();
129
- this._wrapper.destroy();
130
- }
131
- createImplementation() {
132
- return new XamGeographicMap();
133
- }
134
- set dataSource(value) {
135
- this._dataSource = value;
136
- this.bindData();
137
- }
138
- get dataSource() {
139
- return this._dataSource;
140
- }
141
- bindData() {
142
- if (this.actualSeries && this.actualSeries.length > 0) {
143
- var currSeries = this.actualSeries;
144
- for (var i = 0; i < currSeries.length; i++) {
145
- currSeries[i].provideData(this._dataSource);
146
- }
147
- }
148
- }
149
- ngAfterContentInit() {
150
- if (TypeRegistrar.isRegistered("IgxDataChartDefaultTooltipsComponent")) {
151
- let c = TypeRegistrar.get("IgxDataChartDefaultTooltipsComponent");
152
- let cf = this._componentFactoryResolver.resolveComponentFactory(c);
153
- let cr = this._dynamicContent.createComponent(cf);
154
- //let cr = cf.create(this._injector);
155
- this._defaultTooltips = cr;
156
- cr.instance.onContentReady.subscribe(() => {
157
- this._onDefaultTooltipsReady(cr);
158
- });
159
- //this._container.appendChild(cr.location.nativeElement);
160
- }
161
- this._seriesAdapter = new CollectionAdapter(this.contentSeries, this.i.series, this.actualSeries, (c) => c.i, (i) => {
162
- i.owner = this;
163
- i._provideRenderer(this._dataSource);
164
- i.provideData(this._dataSource);
165
- //i.bindAxes(this.axes);
166
- this._ensureDefaultTooltip(i);
167
- this._ensureTooltipCreated(i);
168
- }, (i) => { i._provideRenderer(null); i.provideData(null); });
169
- this.i.notifyContainerResized();
170
- }
171
- _ensureTooltipCreated(series) {
172
- series._ensureTooltipCreated(() => this.createTooltip(), (ele) => {
173
- let wrapper = new AngularWrapper(ele, this._renderer, this._ngZone);
174
- wrapper.updateToolTip = ele.updateToolTip;
175
- wrapper.hideToolTip = ele.hideToolTip;
176
- return wrapper;
177
- });
178
- }
179
- _ensureDefaultTooltip(series) {
180
- if (this._defaultTooltips == null) {
181
- return;
182
- }
183
- this._defaultTooltips.instance["ensureDefaultTooltip"](series);
184
- }
185
- _onDefaultTooltipsReady(cr) {
186
- if (this.actualSeries && this.actualSeries.length > 0) {
187
- var currSeries = this.actualSeries;
188
- for (var i = 0; i < currSeries.length; i++) {
189
- if (currSeries[i].showDefaultTooltip) {
190
- this._ensureDefaultTooltip(currSeries[i]);
191
- }
192
- }
193
- }
194
- }
195
- createTooltip() {
196
- if (!TypeRegistrar.isRegistered("IgxTooltipContainerComponent")) {
197
- return null;
198
- }
199
- let t = TypeRegistrar.get("IgxTooltipContainerComponent");
200
- let cf = this._componentFactoryResolver.resolveComponentFactory(t);
201
- //let cr = cf.create(this._injector);
202
- let cr = this._dynamicContent.createComponent(cf);
203
- let ele = cr.location.nativeElement;
204
- let self = this;
205
- ele.updateToolTip = function (c, isSubContent) {
206
- if (c.externalObject) {
207
- c = c.externalObject;
208
- }
209
- else {
210
- let ext = new IgxDataContext();
211
- ext._implementation = c;
212
- c = ext;
213
- }
214
- if (!isSubContent) {
215
- if (ele.parentElement != self._container) {
216
- if (ele.parentElement != null) {
217
- ele.parentElement.removeChild(ele);
218
- }
219
- self._container.appendChild(ele);
220
- }
221
- }
222
- else {
223
- c.isSubContent = true;
224
- }
225
- cr.instance.context = c;
226
- ele.style.display = "block";
227
- return true;
228
- };
229
- ele.hideToolTip = function () {
230
- ele.style.display = "none";
231
- };
232
- ele.style.display = "none";
233
- return cr;
234
- }
235
- /**
236
- * An imagery to display behind all series, inside the viewport of the IgxGeographicMapComponent control.
237
- */
238
- get backgroundContent() {
239
- if (this.i.backgroundContent != null) {
240
- return this.i.backgroundContent.externalObject;
241
- }
242
- else {
243
- return null;
244
- }
245
- }
246
- set backgroundContent(v) {
247
- if (v != undefined && v != null) {
248
- this.i.backgroundContent = v.i;
249
- }
250
- else {
251
- this.i.backgroundContent = null;
252
- }
253
- }
254
- /**
255
- * @hidden
256
- */
257
- get i() {
258
- return this._implementation;
259
- }
260
- /**
261
- * Gets or sets zoomability of the current control
262
- */
263
- get zoomable() {
264
- return this.i.px;
265
- }
266
- set zoomable(v) {
267
- this.i.px = ensureBool(v);
268
- }
269
- /**
270
- * Gets or sets the behavior to use during resize.
271
- */
272
- get resizeBehavior() {
273
- return this.i.pq;
274
- }
275
- set resizeBehavior(v) {
276
- this.i.pq = ensureEnum(MapResizeBehavior_$type, v);
277
- }
278
- /**
279
- * Gets or sets if the map should horizontally wrap.
280
- */
281
- get isHorizontalWrappingEnabled() {
282
- return this.i.pu;
283
- }
284
- set isHorizontalWrappingEnabled(v) {
285
- this.i.pu = ensureBool(v);
286
- }
287
- /**
288
- * Gets or sets if the map should horizontally wrap.
289
- */
290
- get backgroundTilingMode() {
291
- return this.i.pm;
292
- }
293
- set backgroundTilingMode(v) {
294
- this.i.pm = ensureEnum(MapBackgroundTilingMode_$type, v);
295
- }
296
- /**
297
- * Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
298
- */
299
- get useWorldRectForZoomBounds() {
300
- return this.i.pw;
301
- }
302
- set useWorldRectForZoomBounds(v) {
303
- this.i.pw = ensureBool(v);
304
- }
305
- /**
306
- * Gets or sets whether skip resetting the zoom when the world rect changes.
307
- */
308
- get suppressZoomResetOnWorldRectChange() {
309
- return this.i.pv;
310
- }
311
- set suppressZoomResetOnWorldRectChange(v) {
312
- this.i.pv = ensureBool(v);
313
- }
314
- /**
315
- * Gets or sets the world bounding rectangle.
316
- */
317
- get worldRect() {
318
- return fromRect(this.i.rs);
319
- }
320
- set worldRect(v) {
321
- this.i.rs = toRect(v);
322
- }
323
- /**
324
- * Gets the actual value of the WorldRect.
325
- */
326
- get actualWorldRect() {
327
- return fromRect(this.i.rg);
328
- }
329
- set actualWorldRect(v) {
330
- this.i.rg = toRect(v);
331
- }
332
- /**
333
- * The X-axis for this IgxGeographicMap.Component
334
- * Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
335
- */
336
- get xAxis() {
337
- if (this.i.pf == null) {
338
- return null;
339
- }
340
- if (!this.i.pf.externalObject) {
341
- let e = IgxNumericXAxisComponent._createFromInternal(this.i.pf);
342
- if (e) {
343
- e._implementation = this.i.pf;
344
- }
345
- this.i.pf.externalObject = e;
346
- }
347
- return this.i.pf.externalObject;
348
- }
349
- set xAxis(v) {
350
- if (v != null && this._stylingContainer && v._styling)
351
- v._styling(this._stylingContainer, this, this);
352
- v == null ? this.i.pf = null : this.i.pf = v.i;
353
- }
354
- /**
355
- * The Y-axis for this IgxGeographicMap.Component
356
- * Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
357
- */
358
- get yAxis() {
359
- if (this.i.ph == null) {
360
- return null;
361
- }
362
- if (!this.i.ph.externalObject) {
363
- let e = IgxNumericYAxisComponent._createFromInternal(this.i.ph);
364
- if (e) {
365
- e._implementation = this.i.ph;
366
- }
367
- this.i.ph.externalObject = e;
368
- }
369
- return this.i.ph.externalObject;
370
- }
371
- set yAxis(v) {
372
- if (v != null && this._stylingContainer && v._styling)
373
- v._styling(this._stylingContainer, this, this);
374
- v == null ? this.i.ph = null : this.i.ph = v.i;
375
- }
376
- /**
377
- * Indicates if this SeriesViewer is a map.
378
- */
379
- get isMap() {
380
- return this.i.dq;
381
- }
382
- /**
383
- * A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
384
- * This property is effectively a shortcut to the Width/Height of the WindowRect property.
385
- */
386
- get windowScale() {
387
- return this.i.p2;
388
- }
389
- set windowScale(v) {
390
- this.i.p2 = +v;
391
- }
392
- /**
393
- * A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
394
- * This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
395
- */
396
- get actualWindowScale() {
397
- return this.i.p1;
398
- }
399
- set actualWindowScale(v) {
400
- this.i.p1 = +v;
401
- }
402
- /**
403
- * Gets whether or not the control is ready for zooming
404
- */
405
- get zoomIsReady() {
406
- return this.i.py;
407
- }
408
- findByName(name) {
409
- var baseResult = super.findByName(name);
410
- if (baseResult) {
411
- return baseResult;
412
- }
413
- if (this.backgroundContent && this.backgroundContent.name && this.backgroundContent.name == name) {
414
- return this.backgroundContent;
415
- }
416
- return null;
417
- }
418
- _styling(container, component, parent) {
419
- super._styling(container, component, parent);
420
- this._inStyling = true;
421
- if (this.xAxis && this.xAxis._styling) {
422
- this.xAxis._styling(container, component, this);
423
- }
424
- if (this.yAxis && this.yAxis._styling) {
425
- this.yAxis._styling(container, component, this);
426
- }
427
- this._inStyling = false;
428
- }
429
- getCurrentActualWorldRect() {
430
- let iv = this.i.rk();
431
- return fromRect(iv);
432
- }
433
- /**
434
- * Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { EventEmitter, Output, Component, ViewChild, ContentChildren, Input, forwardRef, ChangeDetectionStrategy, ViewContainerRef } from '@angular/core';
8
+ import { IgxSeriesComponent } from "igniteui-angular-charts";
9
+ import { IgxSeriesViewerComponent } from "igniteui-angular-charts";
10
+ import { AngularRenderer, AngularWrapper } from "igniteui-angular-core";
11
+ import { TypeRegistrar } from "igniteui-angular-core";
12
+ import { XamGeographicMap } from './XamGeographicMap';
13
+ import { CollectionAdapter, toPoint, fromPoint, toRect, fromRect, ensureBool, ensureEnum, NamePatcher } from "igniteui-angular-core";
14
+ import { DataChartStylingDefaults } from "igniteui-angular-charts";
15
+ import { IgxDataContext } from "igniteui-angular-core";
16
+ import { delegateCombine } from "igniteui-angular-core";
17
+ import { IgxSeriesCollection } from "igniteui-angular-charts";
18
+ import { NotifyCollectionChangedAction } from "igniteui-angular-core";
19
+ import { IgxImageTilesReadyEventArgs } from './igx-image-tiles-ready-event-args';
20
+ import { IgxNumericXAxisComponent } from "igniteui-angular-charts";
21
+ import { IgxNumericYAxisComponent } from "igniteui-angular-charts";
22
+ import { MapResizeBehavior_$type } from './MapResizeBehavior';
23
+ import { MapBackgroundTilingMode_$type } from './MapBackgroundTilingMode';
24
+ import * as i0 from "@angular/core";
25
+ /**
26
+ * Represents the Infragistics IgxGeographicMapComponent control.
27
+ */
28
+ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
29
+ class IgxGeographicMapComponent extends IgxSeriesViewerComponent {
30
+ constructor(_renderer, _elRef, _ngZone, _componentFactoryResolver, _injector) {
31
+ super();
32
+ this._renderer = _renderer;
33
+ this._elRef = _elRef;
34
+ this._ngZone = _ngZone;
35
+ this._componentFactoryResolver = _componentFactoryResolver;
36
+ this._injector = _injector;
37
+ /**
38
+ * The series actually present in the chart. Do not directly modify this array.
39
+ * This array's contents can be modified by causing Angular to reproject the child content.
40
+ * Or adding and removing series from the manual series collection on the series property.
41
+ */
42
+ this.actualSeries = [];
43
+ this._series = null;
44
+ this._dataSource = null;
45
+ this._seriesAdapter = null;
46
+ this._defaultTooltips = null;
47
+ this._imageTilesReady = null;
48
+ if (this._styling) {
49
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
50
+ }
51
+ this._zoneRunner = (act) => this._ngZone.run(act);
52
+ this._container = _renderer.createElement("div");
53
+ _renderer.appendChild(_elRef.element.nativeElement, this._container);
54
+ _renderer.setStyle(this._container, "display", "block");
55
+ _renderer.setStyle(this._container, "width", "100%");
56
+ _renderer.setStyle(this._container, "height", "100%");
57
+ var root;
58
+ root = this._container;
59
+ if (this._container.nativeElement != null) {
60
+ root = this._container.nativeElement;
61
+ }
62
+ var ren = new AngularRenderer(root, this._renderer, window.document, this._ngZone, true, DataChartStylingDefaults);
63
+ this._wrapper = ren;
64
+ var chart = this.i;
65
+ this._chart = chart;
66
+ chart.provideContainer(ren);
67
+ ren.addSizeWatcher(() => {
68
+ this._chart.notifyContainerResized();
69
+ });
70
+ }
71
+ set height(value) {
72
+ this._height = value;
73
+ this._renderer.setStyle(this._elRef.element.nativeElement, "height", value);
74
+ this._chart.notifyContainerResized();
75
+ }
76
+ get height() {
77
+ return this._height;
78
+ }
79
+ set width(value) {
80
+ this._width = value;
81
+ this._renderer.setStyle(this._elRef.element.nativeElement, "width", value);
82
+ this._chart.notifyContainerResized();
83
+ }
84
+ get width() {
85
+ return this._width;
86
+ }
87
+ /**
88
+ * Gets or sets the legend used for the current chart.
89
+ */
90
+ get legend() {
91
+ if (this.i.legend != null)
92
+ return this.i.legend.externalObject;
93
+ }
94
+ set legend(v) {
95
+ if (v != undefined && v != null)
96
+ this.i.legend = v.i;
97
+ }
98
+ /**
99
+ * A collection or manually added series for the chart.
100
+ */
101
+ get series() {
102
+ if (this._series === null) {
103
+ let coll = new IgxSeriesCollection();
104
+ let inner = coll._innerColl;
105
+ inner.addListener((sender, e) => {
106
+ switch (e.action) {
107
+ case NotifyCollectionChangedAction.Add:
108
+ this._seriesAdapter.addManualItem(e.newItems.item(0));
109
+ break;
110
+ case NotifyCollectionChangedAction.Remove:
111
+ this._seriesAdapter.removeManualItemAt(e.oldStartingIndex);
112
+ break;
113
+ case NotifyCollectionChangedAction.Replace:
114
+ this._seriesAdapter.removeManualItemAt(e.oldStartingIndex);
115
+ this._seriesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
116
+ break;
117
+ case NotifyCollectionChangedAction.Reset:
118
+ this._seriesAdapter.clearManualItems();
119
+ break;
120
+ }
121
+ });
122
+ this._series = coll;
123
+ }
124
+ return this._series;
125
+ }
126
+ ngOnDestroy() {
127
+ this._chart.destroy();
128
+ this._wrapper.destroy();
129
+ }
130
+ createImplementation() {
131
+ return new XamGeographicMap();
132
+ }
133
+ set dataSource(value) {
134
+ this._dataSource = value;
135
+ this.bindData();
136
+ }
137
+ get dataSource() {
138
+ return this._dataSource;
139
+ }
140
+ bindData() {
141
+ if (this.actualSeries && this.actualSeries.length > 0) {
142
+ var currSeries = this.actualSeries;
143
+ for (var i = 0; i < currSeries.length; i++) {
144
+ currSeries[i].provideData(this._dataSource);
145
+ }
146
+ }
147
+ }
148
+ ngAfterContentInit() {
149
+ if (TypeRegistrar.isRegistered("IgxDataChartDefaultTooltipsComponent")) {
150
+ let c = TypeRegistrar.get("IgxDataChartDefaultTooltipsComponent");
151
+ let cf = this._componentFactoryResolver.resolveComponentFactory(c);
152
+ let cr = this._dynamicContent.createComponent(cf);
153
+ //let cr = cf.create(this._injector);
154
+ this._defaultTooltips = cr;
155
+ cr.instance.onContentReady.subscribe(() => {
156
+ this._onDefaultTooltipsReady(cr);
157
+ });
158
+ //this._container.appendChild(cr.location.nativeElement);
159
+ }
160
+ this._seriesAdapter = new CollectionAdapter(this.contentSeries, this.i.series, this.actualSeries, (c) => c.i, (i) => {
161
+ i.owner = this;
162
+ i._provideRenderer(this._dataSource);
163
+ i.provideData(this._dataSource);
164
+ //i.bindAxes(this.axes);
165
+ this._ensureDefaultTooltip(i);
166
+ this._ensureTooltipCreated(i);
167
+ }, (i) => { i._provideRenderer(null); i.provideData(null); });
168
+ this.i.notifyContainerResized();
169
+ }
170
+ _ensureTooltipCreated(series) {
171
+ series._ensureTooltipCreated(() => this.createTooltip(), (ele) => {
172
+ let wrapper = new AngularWrapper(ele, this._renderer, this._ngZone);
173
+ wrapper.updateToolTip = ele.updateToolTip;
174
+ wrapper.hideToolTip = ele.hideToolTip;
175
+ return wrapper;
176
+ });
177
+ }
178
+ _ensureDefaultTooltip(series) {
179
+ if (this._defaultTooltips == null) {
180
+ return;
181
+ }
182
+ this._defaultTooltips.instance["ensureDefaultTooltip"](series);
183
+ }
184
+ _onDefaultTooltipsReady(cr) {
185
+ if (this.actualSeries && this.actualSeries.length > 0) {
186
+ var currSeries = this.actualSeries;
187
+ for (var i = 0; i < currSeries.length; i++) {
188
+ if (currSeries[i].showDefaultTooltip) {
189
+ this._ensureDefaultTooltip(currSeries[i]);
190
+ }
191
+ }
192
+ }
193
+ }
194
+ createTooltip() {
195
+ if (!TypeRegistrar.isRegistered("IgxTooltipContainerComponent")) {
196
+ return null;
197
+ }
198
+ let t = TypeRegistrar.get("IgxTooltipContainerComponent");
199
+ let cf = this._componentFactoryResolver.resolveComponentFactory(t);
200
+ //let cr = cf.create(this._injector);
201
+ let cr = this._dynamicContent.createComponent(cf);
202
+ let ele = cr.location.nativeElement;
203
+ let self = this;
204
+ ele.updateToolTip = function (c, isSubContent) {
205
+ if (c.externalObject) {
206
+ c = c.externalObject;
207
+ }
208
+ else {
209
+ let ext = new IgxDataContext();
210
+ ext._implementation = c;
211
+ c = ext;
212
+ }
213
+ if (!isSubContent) {
214
+ if (ele.parentElement != self._container) {
215
+ if (ele.parentElement != null) {
216
+ ele.parentElement.removeChild(ele);
217
+ }
218
+ self._container.appendChild(ele);
219
+ }
220
+ }
221
+ else {
222
+ c.isSubContent = true;
223
+ }
224
+ cr.instance.context = c;
225
+ ele.style.display = "block";
226
+ return true;
227
+ };
228
+ ele.hideToolTip = function () {
229
+ ele.style.display = "none";
230
+ };
231
+ ele.style.display = "none";
232
+ return cr;
233
+ }
234
+ /**
235
+ * An imagery to display behind all series, inside the viewport of the IgxGeographicMapComponent control.
236
+ */
237
+ get backgroundContent() {
238
+ if (this.i.backgroundContent != null) {
239
+ return this.i.backgroundContent.externalObject;
240
+ }
241
+ else {
242
+ return null;
243
+ }
244
+ }
245
+ set backgroundContent(v) {
246
+ if (v != undefined && v != null) {
247
+ this.i.backgroundContent = v.i;
248
+ }
249
+ else {
250
+ this.i.backgroundContent = null;
251
+ }
252
+ }
253
+ /**
254
+ * @hidden
255
+ */
256
+ get i() {
257
+ return this._implementation;
258
+ }
259
+ /**
260
+ * Gets or sets zoomability of the current control
261
+ */
262
+ get zoomable() {
263
+ return this.i.ql;
264
+ }
265
+ set zoomable(v) {
266
+ this.i.ql = ensureBool(v);
267
+ }
268
+ /**
269
+ * Gets or sets the behavior to use during resize.
270
+ */
271
+ get resizeBehavior() {
272
+ return this.i.qe;
273
+ }
274
+ set resizeBehavior(v) {
275
+ this.i.qe = ensureEnum(MapResizeBehavior_$type, v);
276
+ }
277
+ /**
278
+ * Gets or sets if the map should horizontally wrap.
279
+ */
280
+ get isHorizontalWrappingEnabled() {
281
+ return this.i.qi;
282
+ }
283
+ set isHorizontalWrappingEnabled(v) {
284
+ this.i.qi = ensureBool(v);
285
+ }
286
+ /**
287
+ * Gets or sets if the map should horizontally wrap.
288
+ */
289
+ get backgroundTilingMode() {
290
+ return this.i.qa;
291
+ }
292
+ set backgroundTilingMode(v) {
293
+ this.i.qa = ensureEnum(MapBackgroundTilingMode_$type, v);
294
+ }
295
+ /**
296
+ * Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
297
+ */
298
+ get useWorldRectForZoomBounds() {
299
+ return this.i.qk;
300
+ }
301
+ set useWorldRectForZoomBounds(v) {
302
+ this.i.qk = ensureBool(v);
303
+ }
304
+ /**
305
+ * Gets or sets whether skip resetting the zoom when the world rect changes.
306
+ */
307
+ get suppressZoomResetOnWorldRectChange() {
308
+ return this.i.qj;
309
+ }
310
+ set suppressZoomResetOnWorldRectChange(v) {
311
+ this.i.qj = ensureBool(v);
312
+ }
313
+ /**
314
+ * Gets or sets the world bounding rectangle.
315
+ */
316
+ get worldRect() {
317
+ return fromRect(this.i.sg);
318
+ }
319
+ set worldRect(v) {
320
+ this.i.sg = toRect(v);
321
+ }
322
+ /**
323
+ * Gets the actual value of the WorldRect.
324
+ */
325
+ get actualWorldRect() {
326
+ return fromRect(this.i.r4);
327
+ }
328
+ set actualWorldRect(v) {
329
+ this.i.r4 = toRect(v);
330
+ }
331
+ /**
332
+ * The X-axis for this IgxGeographicMap.Component
333
+ * Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
334
+ */
335
+ get xAxis() {
336
+ if (this.i.p3 == null) {
337
+ return null;
338
+ }
339
+ if (!this.i.p3.externalObject) {
340
+ let e = IgxNumericXAxisComponent._createFromInternal(this.i.p3);
341
+ if (e) {
342
+ e._implementation = this.i.p3;
343
+ }
344
+ this.i.p3.externalObject = e;
345
+ }
346
+ return this.i.p3.externalObject;
347
+ }
348
+ set xAxis(v) {
349
+ if (v != null && this._stylingContainer && v._styling)
350
+ v._styling(this._stylingContainer, this, this);
351
+ v == null ? this.i.p3 = null : this.i.p3 = v.i;
352
+ }
353
+ /**
354
+ * The Y-axis for this IgxGeographicMap.Component
355
+ * Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
356
+ */
357
+ get yAxis() {
358
+ if (this.i.p5 == null) {
359
+ return null;
360
+ }
361
+ if (!this.i.p5.externalObject) {
362
+ let e = IgxNumericYAxisComponent._createFromInternal(this.i.p5);
363
+ if (e) {
364
+ e._implementation = this.i.p5;
365
+ }
366
+ this.i.p5.externalObject = e;
367
+ }
368
+ return this.i.p5.externalObject;
369
+ }
370
+ set yAxis(v) {
371
+ if (v != null && this._stylingContainer && v._styling)
372
+ v._styling(this._stylingContainer, this, this);
373
+ v == null ? this.i.p5 = null : this.i.p5 = v.i;
374
+ }
375
+ /**
376
+ * Indicates if this SeriesViewer is a map.
377
+ */
378
+ get isMap() {
379
+ return this.i.dx;
380
+ }
381
+ /**
382
+ * A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
383
+ * This property is effectively a shortcut to the Width/Height of the WindowRect property.
384
+ */
385
+ get windowScale() {
386
+ return this.i.qq;
387
+ }
388
+ set windowScale(v) {
389
+ this.i.qq = +v;
390
+ }
391
+ /**
392
+ * A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
393
+ * This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
394
+ */
395
+ get actualWindowScale() {
396
+ return this.i.qp;
397
+ }
398
+ set actualWindowScale(v) {
399
+ this.i.qp = +v;
400
+ }
401
+ /**
402
+ * Gets whether or not the control is ready for zooming
403
+ */
404
+ get zoomIsReady() {
405
+ return this.i.qm;
406
+ }
407
+ findByName(name) {
408
+ var baseResult = super.findByName(name);
409
+ if (baseResult) {
410
+ return baseResult;
411
+ }
412
+ if (this.backgroundContent && this.backgroundContent.name && this.backgroundContent.name == name) {
413
+ return this.backgroundContent;
414
+ }
415
+ return null;
416
+ }
417
+ _styling(container, component, parent) {
418
+ super._styling(container, component, parent);
419
+ this._inStyling = true;
420
+ if (this.xAxis && this.xAxis._styling) {
421
+ this.xAxis._styling(container, component, this);
422
+ }
423
+ if (this.yAxis && this.yAxis._styling) {
424
+ this.yAxis._styling(container, component, this);
425
+ }
426
+ this._inStyling = false;
427
+ }
428
+ /**
429
+ * Gets current world rect in geographic coordinates
435
430
 
436
- * @param geographic * The geographic area.
437
- */
438
- getZoomRectFromGeoRect(geographic) {
439
- let iv = this.i.getZoomRectFromGeoRect(toRect(geographic));
440
- return fromRect(iv);
441
- }
442
- updateZoomWindow(zoomWindow) {
443
- this.i.qw(toRect(zoomWindow));
444
- }
445
- updateWorldRect(worldRect) {
446
- this.i.qv(toRect(worldRect));
447
- }
448
- /**
449
- * Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
450
-
451
- * @param geographic * The geographic area.
452
- */
453
- getZoomFromGeographicRect(geographic) {
454
- let iv = this.i.getZoomFromGeographicRect(toRect(geographic));
455
- return fromRect(iv);
456
- }
457
- convertGeographicToZoom(geographic, extraPixelPadding) {
458
- let iv = this.i.rh(toRect(geographic), extraPixelPadding);
459
- return fromRect(iv);
460
- }
461
- getZoomFromGeographicPoints(northWest, southEast) {
462
- let iv = this.i.getZoomFromGeographicPoints(toPoint(northWest), toPoint(southEast));
463
- return fromRect(iv);
464
- }
465
- /**
466
- * Given a WindowRect and the current plot area, get the geographic region represented by that WindowRect.
467
-
468
- * @param windowRect * The zoom area.
469
- */
470
- getGeographicFromZoom(windowRect) {
471
- let iv = this.i.rm(toRect(windowRect));
472
- return fromRect(iv);
473
- }
474
- /**
475
- * Convert a pixel-based coordinate to a geographic coordinate.
476
-
477
- * @param pixelCoordinate * A pixel-based coordinate
478
- */
479
- getGeographicPoint(pixelCoordinate) {
480
- let iv = this.i.q8(toPoint(pixelCoordinate));
481
- return fromPoint(iv);
482
- }
483
- /**
484
- * Convert a geographic coordinate to a pixel-based coordinate.
485
-
486
- * @param geographicCoordinate * A geographic coordinate
487
- */
488
- getPixelPoint(geographicCoordinate) {
489
- let iv = this.i.q9(toPoint(geographicCoordinate));
490
- return fromPoint(iv);
491
- }
492
- /**
493
- * Convert a geographic coordinate to a pixel-based coordinate.
494
-
495
- * @param geographicCoordinate * A geographic coordinate
496
- */
497
- getWindowPoint(geographicCoordinate) {
498
- let iv = this.i.ra(toPoint(geographicCoordinate));
499
- return fromPoint(iv);
500
- }
501
- /**
502
- * Removes all cached tile images from the map imagery assigned to the map's background content.
503
-
504
- */
505
- clearTileCache() {
506
- this.i.qj();
507
- }
508
- /**
509
- * Notifies the chart that the CSS styles in effect have been updated.
510
-
511
- */
512
- styleUpdated() {
513
- this.i.qr();
514
- }
515
- /**
516
- * Gets actual window scale for horizontal dimension of the control
517
-
518
- */
519
- getActualWindowScaleHorizontal() {
520
- let iv = this.i.fe();
521
- return (iv);
522
- }
523
- /**
524
- * Gets actual window scale for vertical dimension of the control
525
-
526
- */
527
- getActualWindowScaleVertical() {
528
- let iv = this.i.ff();
529
- return (iv);
530
- }
531
- /**
532
- * Calls for a deferred refresh to the GeographicMap's background.
533
-
534
- */
535
- deferredRefresh() {
536
- this.i.deferredRefresh();
537
- }
538
- /**
539
- * Returns the chart visuals expressed as a ChartVisualData object.
540
-
541
- */
542
- exportVisualData() {
543
- let iv = this.i.p5();
544
- return (iv);
545
- }
546
- /**
547
- * Zoom in to the geographic region specified, when possible (may need to wait for map to be initialized).
548
-
549
- * @param geographic * The geographic region to zoom to.
550
- */
551
- zoomToGeographic(geographic) {
552
- this.i.qy(toRect(geographic));
553
- }
554
- /**
555
- * This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
556
- */
557
- get imageTilesReady() {
558
- if (this._imageTilesReady == null) {
559
- this._imageTilesReady = new EventEmitter();
560
- this.i.imageTilesReady = delegateCombine(this.i.imageTilesReady, (o, e) => {
561
- let outerArgs = new IgxImageTilesReadyEventArgs();
562
- outerArgs._provideImplementation(e);
563
- if (this.beforeImageTilesReady) {
564
- this.beforeImageTilesReady(this, outerArgs);
565
- }
566
- this._imageTilesReady.emit({
567
- sender: this,
568
- args: outerArgs
569
- });
570
- });
571
- }
572
- return this._imageTilesReady;
573
- }
574
- };
575
- tslib_1.__decorate([
576
- ContentChildren(IgxSeriesComponent),
577
- tslib_1.__metadata("design:type", QueryList)
578
- ], IgxGeographicMapComponent.prototype, "contentSeries", void 0);
579
- tslib_1.__decorate([
580
- ViewChild("dynamicContent", { read: ViewContainerRef, static: true }),
581
- tslib_1.__metadata("design:type", ViewContainerRef)
582
- ], IgxGeographicMapComponent.prototype, "_dynamicContent", void 0);
583
- tslib_1.__decorate([
584
- Input(),
585
- tslib_1.__metadata("design:type", String),
586
- tslib_1.__metadata("design:paramtypes", [String])
587
- ], IgxGeographicMapComponent.prototype, "height", null);
588
- tslib_1.__decorate([
589
- Input(),
590
- tslib_1.__metadata("design:type", String),
591
- tslib_1.__metadata("design:paramtypes", [String])
592
- ], IgxGeographicMapComponent.prototype, "width", null);
593
- tslib_1.__decorate([
594
- Input(),
595
- tslib_1.__metadata("design:type", Object),
596
- tslib_1.__metadata("design:paramtypes", [Object])
597
- ], IgxGeographicMapComponent.prototype, "legend", null);
598
- tslib_1.__decorate([
599
- Input(),
600
- tslib_1.__metadata("design:type", Object),
601
- tslib_1.__metadata("design:paramtypes", [Object])
602
- ], IgxGeographicMapComponent.prototype, "dataSource", null);
603
- tslib_1.__decorate([
604
- Input(),
605
- tslib_1.__metadata("design:type", Boolean),
606
- tslib_1.__metadata("design:paramtypes", [Boolean])
607
- ], IgxGeographicMapComponent.prototype, "zoomable", null);
608
- tslib_1.__decorate([
609
- Input(),
610
- tslib_1.__metadata("design:type", Number),
611
- tslib_1.__metadata("design:paramtypes", [Number])
612
- ], IgxGeographicMapComponent.prototype, "resizeBehavior", null);
613
- tslib_1.__decorate([
614
- Input(),
615
- tslib_1.__metadata("design:type", Boolean),
616
- tslib_1.__metadata("design:paramtypes", [Boolean])
617
- ], IgxGeographicMapComponent.prototype, "isHorizontalWrappingEnabled", null);
618
- tslib_1.__decorate([
619
- Input(),
620
- tslib_1.__metadata("design:type", Number),
621
- tslib_1.__metadata("design:paramtypes", [Number])
622
- ], IgxGeographicMapComponent.prototype, "backgroundTilingMode", null);
623
- tslib_1.__decorate([
624
- Input(),
625
- tslib_1.__metadata("design:type", Boolean),
626
- tslib_1.__metadata("design:paramtypes", [Boolean])
627
- ], IgxGeographicMapComponent.prototype, "useWorldRectForZoomBounds", null);
628
- tslib_1.__decorate([
629
- Input(),
630
- tslib_1.__metadata("design:type", Boolean),
631
- tslib_1.__metadata("design:paramtypes", [Boolean])
632
- ], IgxGeographicMapComponent.prototype, "suppressZoomResetOnWorldRectChange", null);
633
- tslib_1.__decorate([
634
- Input(),
635
- tslib_1.__metadata("design:type", Object),
636
- tslib_1.__metadata("design:paramtypes", [Object])
637
- ], IgxGeographicMapComponent.prototype, "worldRect", null);
638
- tslib_1.__decorate([
639
- Input(),
640
- tslib_1.__metadata("design:type", Object),
641
- tslib_1.__metadata("design:paramtypes", [Object])
642
- ], IgxGeographicMapComponent.prototype, "actualWorldRect", null);
643
- tslib_1.__decorate([
644
- Input(),
645
- tslib_1.__metadata("design:type", IgxNumericXAxisComponent),
646
- tslib_1.__metadata("design:paramtypes", [IgxNumericXAxisComponent])
647
- ], IgxGeographicMapComponent.prototype, "xAxis", null);
648
- tslib_1.__decorate([
649
- Input(),
650
- tslib_1.__metadata("design:type", IgxNumericYAxisComponent),
651
- tslib_1.__metadata("design:paramtypes", [IgxNumericYAxisComponent])
652
- ], IgxGeographicMapComponent.prototype, "yAxis", null);
653
- tslib_1.__decorate([
654
- Input(),
655
- tslib_1.__metadata("design:type", Number),
656
- tslib_1.__metadata("design:paramtypes", [Number])
657
- ], IgxGeographicMapComponent.prototype, "windowScale", null);
658
- tslib_1.__decorate([
659
- Input(),
660
- tslib_1.__metadata("design:type", Number),
661
- tslib_1.__metadata("design:paramtypes", [Number])
662
- ], IgxGeographicMapComponent.prototype, "actualWindowScale", null);
663
- tslib_1.__decorate([
664
- Output(),
665
- tslib_1.__metadata("design:type", EventEmitter),
666
- tslib_1.__metadata("design:paramtypes", [])
667
- ], IgxGeographicMapComponent.prototype, "imageTilesReady", null);
668
- IgxGeographicMapComponent = IgxGeographicMapComponent_1 = tslib_1.__decorate([
669
- Component({
670
- selector: 'igx-geographic-map',
671
- template: `<ng-container #dynamicContent></ng-container>`,
672
- changeDetection: ChangeDetectionStrategy.OnPush,
673
- providers: [{ provide: IgxSeriesViewerComponent, useExisting: forwardRef(() => IgxGeographicMapComponent_1) }],
674
- host: { 'class': 'igx-geographic-map ig-geographic-map' },
675
- styles: [`
431
+ */
432
+ getCurrentActualWorldRect() {
433
+ let iv = this.i.r8();
434
+ return fromRect(iv);
435
+ }
436
+ /**
437
+ * Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
438
+
439
+ * @param geographic * The geographic area.
440
+ */
441
+ getZoomRectFromGeoRect(geographic) {
442
+ let iv = this.i.getZoomRectFromGeoRect(toRect(geographic));
443
+ return fromRect(iv);
444
+ }
445
+ /**
446
+ * Updates zoom window using window coordinates
447
+
448
+ */
449
+ updateZoomWindow(zoomWindow) {
450
+ this.i.rk(toRect(zoomWindow));
451
+ }
452
+ /**
453
+ * Updates world rect in geographic coordinates
454
+
455
+ */
456
+ updateWorldRect(worldRect) {
457
+ this.i.rj(toRect(worldRect));
458
+ }
459
+ /**
460
+ * Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
461
+
462
+ * @param geographic * The geographic area.
463
+ */
464
+ getZoomFromGeographicRect(geographic) {
465
+ let iv = this.i.getZoomFromGeographicRect(toRect(geographic));
466
+ return fromRect(iv);
467
+ }
468
+ convertGeographicToZoom(geographic, extraPixelPadding) {
469
+ let iv = this.i.r5(toRect(geographic), extraPixelPadding);
470
+ return fromRect(iv);
471
+ }
472
+ getZoomFromGeographicPoints(northWest, southEast) {
473
+ let iv = this.i.getZoomFromGeographicPoints(toPoint(northWest), toPoint(southEast));
474
+ return fromRect(iv);
475
+ }
476
+ /**
477
+ * Given a WindowRect and the current plot area, get the geographic region represented by that WindowRect.
478
+
479
+ * @param windowRect * The zoom area.
480
+ */
481
+ getGeographicFromZoom(windowRect) {
482
+ let iv = this.i.sa(toRect(windowRect));
483
+ return fromRect(iv);
484
+ }
485
+ /**
486
+ * Convert a pixel-based coordinate to a geographic coordinate.
487
+
488
+ * @param pixelCoordinate * A pixel-based coordinate
489
+ */
490
+ getGeographicPoint(pixelCoordinate) {
491
+ let iv = this.i.rw(toPoint(pixelCoordinate));
492
+ return fromPoint(iv);
493
+ }
494
+ /**
495
+ * Convert a geographic coordinate to a pixel-based coordinate.
496
+
497
+ * @param geographicCoordinate * A geographic coordinate
498
+ */
499
+ getPixelPoint(geographicCoordinate) {
500
+ let iv = this.i.rx(toPoint(geographicCoordinate));
501
+ return fromPoint(iv);
502
+ }
503
+ /**
504
+ * Convert a geographic coordinate to a pixel-based coordinate.
505
+
506
+ * @param geographicCoordinate * A geographic coordinate
507
+ */
508
+ getWindowPoint(geographicCoordinate) {
509
+ let iv = this.i.ry(toPoint(geographicCoordinate));
510
+ return fromPoint(iv);
511
+ }
512
+ /**
513
+ * Removes all cached tile images from the map imagery assigned to the map's background content.
514
+
515
+ */
516
+ clearTileCache() {
517
+ this.i.q7();
518
+ }
519
+ /**
520
+ * Notifies the chart that the CSS styles in effect have been updated.
521
+
522
+ */
523
+ styleUpdated() {
524
+ this.i.rf();
525
+ }
526
+ /**
527
+ * Gets actual window scale for horizontal dimension of the control
528
+
529
+ */
530
+ getActualWindowScaleHorizontal() {
531
+ let iv = this.i.fn();
532
+ return (iv);
533
+ }
534
+ /**
535
+ * Gets actual window scale for vertical dimension of the control
536
+
537
+ */
538
+ getActualWindowScaleVertical() {
539
+ let iv = this.i.fo();
540
+ return (iv);
541
+ }
542
+ /**
543
+ * Calls for a deferred refresh to the GeographicMap's background.
544
+
545
+ */
546
+ deferredRefresh() {
547
+ this.i.deferredRefresh();
548
+ }
549
+ /**
550
+ * Returns the chart visuals expressed as a ChartVisualData object.
551
+
552
+ */
553
+ exportVisualData() {
554
+ let iv = this.i.qt();
555
+ return (iv);
556
+ }
557
+ /**
558
+ * Zoom in to the geographic region specified, when possible (may need to wait for map to be initialized).
559
+
560
+ * @param geographic * The geographic region to zoom to.
561
+ */
562
+ zoomToGeographic(geographic) {
563
+ this.i.rm(toRect(geographic));
564
+ }
565
+ /**
566
+ * This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
567
+ */
568
+ get imageTilesReady() {
569
+ if (this._imageTilesReady == null) {
570
+ this._imageTilesReady = new EventEmitter();
571
+ this.i.imageTilesReady = delegateCombine(this.i.imageTilesReady, (o, e) => {
572
+ let outerArgs = new IgxImageTilesReadyEventArgs();
573
+ outerArgs._provideImplementation(e);
574
+ if (this.beforeImageTilesReady) {
575
+ this.beforeImageTilesReady(this, outerArgs);
576
+ }
577
+ this._imageTilesReady.emit({
578
+ sender: this,
579
+ args: outerArgs
580
+ });
581
+ });
582
+ }
583
+ return this._imageTilesReady;
584
+ }
585
+ }
586
+ IgxGeographicMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IgxGeographicMapComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
587
+ IgxGeographicMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: IgxGeographicMapComponent, selector: "igx-geographic-map", inputs: { height: "height", width: "width", legend: "legend", dataSource: "dataSource", zoomable: "zoomable", resizeBehavior: "resizeBehavior", isHorizontalWrappingEnabled: "isHorizontalWrappingEnabled", backgroundTilingMode: "backgroundTilingMode", useWorldRectForZoomBounds: "useWorldRectForZoomBounds", suppressZoomResetOnWorldRectChange: "suppressZoomResetOnWorldRectChange", worldRect: "worldRect", actualWorldRect: "actualWorldRect", xAxis: "xAxis", yAxis: "yAxis", windowScale: "windowScale", actualWindowScale: "actualWindowScale" }, outputs: { imageTilesReady: "imageTilesReady" }, host: { classAttribute: "igx-geographic-map ig-geographic-map" }, providers: [{ provide: IgxSeriesViewerComponent, useExisting: forwardRef(() => IgxGeographicMapComponent) }], queries: [{ propertyName: "contentSeries", predicate: IgxSeriesComponent }], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `<ng-container #dynamicContent></ng-container>`, isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
588
+ return IgxGeographicMapComponent;
589
+ })();
590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: IgxGeographicMapComponent, decorators: [{
591
+ type: Component,
592
+ args: [{
593
+ selector: 'igx-geographic-map',
594
+ template: `<ng-container #dynamicContent></ng-container>`,
595
+ changeDetection: ChangeDetectionStrategy.OnPush,
596
+ providers: [{ provide: IgxSeriesViewerComponent, useExisting: forwardRef(() => IgxGeographicMapComponent) }],
597
+ host: { 'class': 'igx-geographic-map ig-geographic-map' },
598
+ styles: [`
676
599
  :host {
677
600
  display: block;
678
601
  }
679
- `]
680
- }),
681
- tslib_1.__metadata("design:paramtypes", [Renderer2,
682
- ViewContainerRef,
683
- NgZone,
684
- ComponentFactoryResolver,
685
- Injector])
686
- ], IgxGeographicMapComponent);
687
- export { IgxGeographicMapComponent };
688
- //# sourceMappingURL=igx-geographic-map-component.js.map
602
+ `]
603
+ }]
604
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }]; }, propDecorators: { contentSeries: [{
605
+ type: ContentChildren,
606
+ args: [IgxSeriesComponent]
607
+ }], _dynamicContent: [{
608
+ type: ViewChild,
609
+ args: ["dynamicContent", { read: ViewContainerRef, static: true }]
610
+ }], height: [{
611
+ type: Input
612
+ }], width: [{
613
+ type: Input
614
+ }], legend: [{
615
+ type: Input
616
+ }], dataSource: [{
617
+ type: Input
618
+ }], zoomable: [{
619
+ type: Input
620
+ }], resizeBehavior: [{
621
+ type: Input
622
+ }], isHorizontalWrappingEnabled: [{
623
+ type: Input
624
+ }], backgroundTilingMode: [{
625
+ type: Input
626
+ }], useWorldRectForZoomBounds: [{
627
+ type: Input
628
+ }], suppressZoomResetOnWorldRectChange: [{
629
+ type: Input
630
+ }], worldRect: [{
631
+ type: Input
632
+ }], actualWorldRect: [{
633
+ type: Input
634
+ }], xAxis: [{
635
+ type: Input
636
+ }], yAxis: [{
637
+ type: Input
638
+ }], windowScale: [{
639
+ type: Input
640
+ }], actualWindowScale: [{
641
+ type: Input
642
+ }], imageTilesReady: [{
643
+ type: Output
644
+ }] } });
645
+ //# sourceMappingURL=igx-geographic-map-component.js.map