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