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.
- package/bundles/igniteui-angular-maps.umd.js +8030 -7665
- package/bundles/igniteui-angular-maps.umd.js.map +1 -1
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/bundles/igniteui-angular-maps.umd.min.js.map +1 -1
- package/esm2015/lib/ArcGISOnlineMapImagery.js +190 -187
- package/esm2015/lib/BingMapsImageryStyle.js +4 -4
- package/esm2015/lib/BingMapsMapImageryView_combined.js +226 -220
- package/esm2015/lib/BingResourceSet.js +11 -8
- package/esm2015/lib/BingResponse.js +11 -8
- package/esm2015/lib/CustomMapImagery.js +18 -15
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js +103 -76
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +182 -158
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +378 -280
- package/esm2015/lib/GeographicMapSeriesHost_combined.js.map +1 -1
- package/esm2015/lib/GeographicMarkerSeries.js +90 -0
- package/esm2015/lib/GeographicMarkerSeries.js.map +1 -0
- package/esm2015/lib/GeographicMarkerSeriesBase.js +18 -0
- package/esm2015/lib/GeographicMarkerSeriesBase.js.map +1 -0
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js +69 -53
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicProportionalSymbolSeriesBase.js +8 -5
- package/esm2015/lib/GeographicProportionalSymbolSeriesBase.js.map +1 -1
- package/esm2015/lib/GeographicProportionalSymbolSeriesBaseView.js +11 -8
- package/esm2015/lib/GeographicProportionalSymbolSeriesBaseView.js.map +1 -1
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +230 -254
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicShapeSeriesBaseBase.js +7 -4
- package/esm2015/lib/GeographicShapeSeriesBaseBaseView.js +11 -8
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +151 -165
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js.map +1 -1
- package/esm2015/lib/GeographicShapeSeriesView_combined.js +152 -113
- package/esm2015/lib/GeographicShapeSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicSymbolSeriesBase.js +8 -5
- package/esm2015/lib/GeographicSymbolSeriesBase.js.map +1 -1
- package/esm2015/lib/GeographicSymbolSeriesBaseView.js +11 -8
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +162 -186
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js.map +1 -1
- package/esm2015/lib/GeographicTileSeries.js +57 -51
- package/esm2015/lib/GeographicTileSeries.js.map +1 -1
- package/esm2015/lib/GeographicXYTriangulatingSeriesBase.js +7 -4
- package/esm2015/lib/GeographicXYTriangulatingSeriesBaseView.js +11 -8
- package/esm2015/lib/ImageTilesReadyEventArgs.js +7 -4
- package/esm2015/lib/ImageryMetadata.js +12 -9
- package/esm2015/lib/ImagesChangedEventArgs.js +7 -4
- package/esm2015/lib/LevelOfDetailResponseModel.js +30 -27
- package/esm2015/lib/MapBackgroundTilingMode.js +4 -4
- package/esm2015/lib/MapResizeBehavior.js +4 -4
- package/esm2015/lib/MapServerResponseModel.js +23 -20
- package/esm2015/lib/SphericalMercatorHorizontalScaler.js +106 -103
- package/esm2015/lib/SphericalMercatorVerticalScaler.js +162 -159
- package/esm2015/lib/SubDomainsCollection.js +21 -18
- package/esm2015/lib/TileGeneratorMapImagery.js +32 -29
- package/esm2015/lib/TileInfoResponseModel.js +16 -13
- package/esm2015/lib/TileSeries_combined.js +293 -270
- package/esm2015/lib/TileSeries_combined.js.map +1 -1
- package/esm2015/lib/TokenResponseModel.js +30 -27
- package/esm2015/lib/XamGeographicMap_combined.js +1286 -1246
- package/esm2015/lib/XamGeographicMap_combined.js.map +1 -1
- package/esm2015/lib/igx-arc-gis-online-map-imagery-dynamic-module.js +35 -30
- package/esm2015/lib/igx-arc-gis-online-map-imagery-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-arc-gis-online-map-imagery-module.js +27 -21
- package/esm2015/lib/igx-arc-gis-online-map-imagery-module.js.map +1 -1
- package/esm2015/lib/igx-arc-gis-online-map-imagery.js +3 -3
- package/esm2015/lib/igx-arc-gis-online-map-imagery.js.map +1 -1
- package/esm2015/lib/igx-bing-maps-map-imagery-dynamic-module.js +35 -30
- package/esm2015/lib/igx-bing-maps-map-imagery-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-bing-maps-map-imagery-module.js +27 -21
- package/esm2015/lib/igx-bing-maps-map-imagery-module.js.map +1 -1
- package/esm2015/lib/igx-custom-map-imagery-dynamic-module.js +35 -30
- package/esm2015/lib/igx-custom-map-imagery-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-custom-map-imagery-module.js +27 -21
- package/esm2015/lib/igx-custom-map-imagery-module.js.map +1 -1
- package/esm2015/lib/igx-custom-map-imagery.js +1 -7
- package/esm2015/lib/igx-custom-map-imagery.js.map +1 -1
- package/esm2015/lib/igx-geographic-contour-line-series-component.js +183 -158
- package/esm2015/lib/igx-geographic-contour-line-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-contour-line-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-contour-line-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-contour-line-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-contour-line-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js +193 -221
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-high-density-scatter-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-high-density-scatter-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-high-density-scatter-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-high-density-scatter-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-component.js +641 -684
- package/esm2015/lib/igx-geographic-map-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-core-dynamic-module.js +64 -42
- package/esm2015/lib/igx-geographic-map-core-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-core-module.js +57 -38
- package/esm2015/lib/igx-geographic-map-core-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-dynamic-module.js +136 -69
- package/esm2015/lib/igx-geographic-map-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-imagery.js +1 -22
- package/esm2015/lib/igx-geographic-map-imagery.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-module.js +129 -66
- package/esm2015/lib/igx-geographic-map-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-map-series-host-component.js +168 -154
- package/esm2015/lib/igx-geographic-map-series-host-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-marker-series-base-component.js +26 -0
- package/esm2015/lib/igx-geographic-marker-series-base-component.js.map +1 -0
- package/esm2015/lib/igx-geographic-marker-series-component.js +157 -0
- package/esm2015/lib/igx-geographic-marker-series-component.js.map +1 -0
- package/esm2015/lib/igx-geographic-polyline-series-component.js +123 -130
- package/esm2015/lib/igx-geographic-polyline-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-polyline-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-polyline-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-polyline-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-polyline-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-proportional-symbol-series-base-component.js +26 -16
- package/esm2015/lib/igx-geographic-proportional-symbol-series-base-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +327 -490
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-proportional-symbol-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-proportional-symbol-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-proportional-symbol-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-proportional-symbol-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js +160 -125
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-scatter-area-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-scatter-area-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-scatter-area-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-scatter-area-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-shape-series-base-base-component.js +26 -16
- package/esm2015/lib/igx-geographic-shape-series-base-base-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-shape-series-base-component.js +249 -276
- package/esm2015/lib/igx-geographic-shape-series-base-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-shape-series-component.js +250 -248
- package/esm2015/lib/igx-geographic-shape-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-shape-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-shape-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-shape-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-shape-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-symbol-series-base-component.js +26 -16
- package/esm2015/lib/igx-geographic-symbol-series-base-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-symbol-series-component.js +174 -310
- package/esm2015/lib/igx-geographic-symbol-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-symbol-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-symbol-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-symbol-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-symbol-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-tile-series-component.js +102 -101
- package/esm2015/lib/igx-geographic-tile-series-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-tile-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-geographic-tile-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-tile-series-module.js +29 -23
- package/esm2015/lib/igx-geographic-tile-series-module.js.map +1 -1
- package/esm2015/lib/igx-geographic-xy-triangulating-series-base-component.js +26 -16
- package/esm2015/lib/igx-geographic-xy-triangulating-series-base-component.js.map +1 -1
- package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js +118 -130
- package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js.map +1 -1
- package/esm2015/lib/igx-image-tiles-ready-event-args.js +5 -5
- package/esm2015/lib/igx-image-tiles-ready-event-args.js.map +1 -1
- package/esm2015/lib/igx-images-changed-event-args.js +5 -5
- package/esm2015/lib/igx-images-changed-event-args.js.map +1 -1
- package/esm2015/lib/igx-open-street-map-imagery-dynamic-module.js +35 -30
- package/esm2015/lib/igx-open-street-map-imagery-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-open-street-map-imagery-module.js +27 -21
- package/esm2015/lib/igx-open-street-map-imagery-module.js.map +1 -1
- package/esm2015/lib/igx-tile-generator-map-imagery-dynamic-module.js +35 -30
- package/esm2015/lib/igx-tile-generator-map-imagery-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-tile-generator-map-imagery-module.js +27 -21
- package/esm2015/lib/igx-tile-generator-map-imagery-module.js.map +1 -1
- package/esm2015/lib/igx-tile-series-component.js +74 -70
- package/esm2015/lib/igx-tile-series-component.js.map +1 -1
- package/esm2015/lib/igx-tile-series-dynamic-module.js +35 -30
- package/esm2015/lib/igx-tile-series-dynamic-module.js.map +1 -1
- package/esm2015/lib/igx-tile-series-module.js +28 -22
- package/esm2015/lib/igx-tile-series-module.js.map +1 -1
- package/esm2015/public_api.js +4 -0
- package/esm2015/public_api.js.map +1 -1
- package/esm5/lib/ArcGISOnlineMapImagery.js +12 -12
- package/esm5/lib/ArcGISOnlineMapImagery.js.map +1 -1
- package/esm5/lib/BingMapsImageryStyle.js +4 -4
- package/esm5/lib/BingMapsMapImageryView_combined.js +11 -11
- package/esm5/lib/BingMapsMapImageryView_combined.js.map +1 -1
- package/esm5/lib/BingResourceSet.js +4 -4
- package/esm5/lib/BingResourceSet.js.map +1 -1
- package/esm5/lib/BingResponse.js +4 -4
- package/esm5/lib/BingResponse.js.map +1 -1
- package/esm5/lib/CustomMapImagery.js +4 -4
- package/esm5/lib/CustomMapImagery.js.map +1 -1
- package/esm5/lib/GeographicContourLineSeriesView_combined.js +66 -45
- package/esm5/lib/GeographicContourLineSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +117 -99
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicMapSeriesHost_combined.js +245 -153
- package/esm5/lib/GeographicMapSeriesHost_combined.js.map +1 -1
- package/esm5/lib/GeographicMarkerSeries.js +92 -0
- package/esm5/lib/GeographicMarkerSeries.js.map +1 -0
- package/esm5/lib/GeographicMarkerSeriesBase.js +22 -0
- package/esm5/lib/GeographicMarkerSeriesBase.js.map +1 -0
- package/esm5/lib/GeographicPolylineSeriesView_combined.js +38 -28
- package/esm5/lib/GeographicPolylineSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicProportionalSymbolSeriesBase.js +7 -7
- package/esm5/lib/GeographicProportionalSymbolSeriesBase.js.map +1 -1
- package/esm5/lib/GeographicProportionalSymbolSeriesBaseView.js +6 -6
- package/esm5/lib/GeographicProportionalSymbolSeriesBaseView.js.map +1 -1
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +135 -165
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicShapeSeriesBaseBase.js +4 -4
- package/esm5/lib/GeographicShapeSeriesBaseBase.js.map +1 -1
- package/esm5/lib/GeographicShapeSeriesBaseBaseView.js +6 -6
- package/esm5/lib/GeographicShapeSeriesBaseBaseView.js.map +1 -1
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +77 -97
- package/esm5/lib/GeographicShapeSeriesBase_combined.js.map +1 -1
- package/esm5/lib/GeographicShapeSeriesView_combined.js +105 -72
- package/esm5/lib/GeographicShapeSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicSymbolSeriesBase.js +7 -7
- package/esm5/lib/GeographicSymbolSeriesBase.js.map +1 -1
- package/esm5/lib/GeographicSymbolSeriesBaseView.js +6 -6
- package/esm5/lib/GeographicSymbolSeriesBaseView.js.map +1 -1
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +88 -118
- package/esm5/lib/GeographicSymbolSeriesView_combined.js.map +1 -1
- package/esm5/lib/GeographicTileSeries.js +34 -31
- package/esm5/lib/GeographicTileSeries.js.map +1 -1
- package/esm5/lib/GeographicXYTriangulatingSeriesBase.js +4 -4
- package/esm5/lib/GeographicXYTriangulatingSeriesBase.js.map +1 -1
- package/esm5/lib/GeographicXYTriangulatingSeriesBaseView.js +6 -6
- package/esm5/lib/GeographicXYTriangulatingSeriesBaseView.js.map +1 -1
- package/esm5/lib/ImageTilesReadyEventArgs.js +4 -4
- package/esm5/lib/ImageTilesReadyEventArgs.js.map +1 -1
- package/esm5/lib/ImageryMetadata.js +4 -4
- package/esm5/lib/ImageryMetadata.js.map +1 -1
- package/esm5/lib/ImagesChangedEventArgs.js +4 -4
- package/esm5/lib/ImagesChangedEventArgs.js.map +1 -1
- package/esm5/lib/LevelOfDetailResponseModel.js +7 -7
- package/esm5/lib/LevelOfDetailResponseModel.js.map +1 -1
- package/esm5/lib/MapBackgroundTilingMode.js +4 -4
- package/esm5/lib/MapResizeBehavior.js +4 -4
- package/esm5/lib/MapServerResponseModel.js +6 -6
- package/esm5/lib/MapServerResponseModel.js.map +1 -1
- package/esm5/lib/SphericalMercatorHorizontalScaler.js +6 -6
- package/esm5/lib/SphericalMercatorHorizontalScaler.js.map +1 -1
- package/esm5/lib/SphericalMercatorVerticalScaler.js +8 -8
- package/esm5/lib/SphericalMercatorVerticalScaler.js.map +1 -1
- package/esm5/lib/SubDomainsCollection.js +4 -4
- package/esm5/lib/SubDomainsCollection.js.map +1 -1
- package/esm5/lib/TileGeneratorMapImagery.js +4 -4
- package/esm5/lib/TileGeneratorMapImagery.js.map +1 -1
- package/esm5/lib/TileInfoResponseModel.js +5 -5
- package/esm5/lib/TileInfoResponseModel.js.map +1 -1
- package/esm5/lib/TileSeries_combined.js +112 -95
- package/esm5/lib/TileSeries_combined.js.map +1 -1
- package/esm5/lib/TokenResponseModel.js +7 -7
- package/esm5/lib/TokenResponseModel.js.map +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +605 -564
- package/esm5/lib/XamGeographicMap_combined.js.map +1 -1
- package/esm5/lib/igx-arc-gis-online-map-imagery-dynamic-module.js +34 -31
- package/esm5/lib/igx-arc-gis-online-map-imagery-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-arc-gis-online-map-imagery-module.js +28 -24
- package/esm5/lib/igx-arc-gis-online-map-imagery-module.js.map +1 -1
- package/esm5/lib/igx-arc-gis-online-map-imagery.js +13 -13
- package/esm5/lib/igx-arc-gis-online-map-imagery.js.map +1 -1
- package/esm5/lib/igx-bing-maps-map-imagery-dynamic-module.js +34 -31
- package/esm5/lib/igx-bing-maps-map-imagery-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-bing-maps-map-imagery-module.js +28 -24
- package/esm5/lib/igx-bing-maps-map-imagery-module.js.map +1 -1
- package/esm5/lib/igx-bing-maps-map-imagery.js +16 -16
- package/esm5/lib/igx-bing-maps-map-imagery.js.map +1 -1
- package/esm5/lib/igx-custom-map-imagery-dynamic-module.js +34 -31
- package/esm5/lib/igx-custom-map-imagery-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-custom-map-imagery-module.js +28 -24
- package/esm5/lib/igx-custom-map-imagery-module.js.map +1 -1
- package/esm5/lib/igx-custom-map-imagery.js +7 -12
- package/esm5/lib/igx-custom-map-imagery.js.map +1 -1
- package/esm5/lib/igx-geographic-contour-line-series-component.js +214 -183
- package/esm5/lib/igx-geographic-contour-line-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-contour-line-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-contour-line-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-contour-line-series-module.js +30 -26
- package/esm5/lib/igx-geographic-contour-line-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js +252 -278
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-high-density-scatter-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-high-density-scatter-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-high-density-scatter-series-module.js +30 -26
- package/esm5/lib/igx-geographic-high-density-scatter-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-map-component.js +722 -767
- package/esm5/lib/igx-geographic-map-component.js.map +1 -1
- package/esm5/lib/igx-geographic-map-core-dynamic-module.js +63 -43
- package/esm5/lib/igx-geographic-map-core-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-map-core-module.js +56 -39
- package/esm5/lib/igx-geographic-map-core-module.js.map +1 -1
- package/esm5/lib/igx-geographic-map-dynamic-module.js +137 -72
- package/esm5/lib/igx-geographic-map-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-map-imagery.js +15 -36
- package/esm5/lib/igx-geographic-map-imagery.js.map +1 -1
- package/esm5/lib/igx-geographic-map-module.js +130 -69
- package/esm5/lib/igx-geographic-map-module.js.map +1 -1
- package/esm5/lib/igx-geographic-map-series-host-component.js +183 -171
- package/esm5/lib/igx-geographic-map-series-host-component.js.map +1 -1
- package/esm5/lib/igx-geographic-marker-series-base-component.js +31 -0
- package/esm5/lib/igx-geographic-marker-series-base-component.js.map +1 -0
- package/esm5/lib/igx-geographic-marker-series-component.js +206 -0
- package/esm5/lib/igx-geographic-marker-series-component.js.map +1 -0
- package/esm5/lib/igx-geographic-polyline-series-component.js +154 -159
- package/esm5/lib/igx-geographic-polyline-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-polyline-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-polyline-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-polyline-series-module.js +30 -26
- package/esm5/lib/igx-geographic-polyline-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-proportional-symbol-series-base-component.js +31 -24
- package/esm5/lib/igx-geographic-proportional-symbol-series-base-component.js.map +1 -1
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +411 -604
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-proportional-symbol-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-proportional-symbol-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-proportional-symbol-series-module.js +30 -26
- package/esm5/lib/igx-geographic-proportional-symbol-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-scatter-area-series-component.js +187 -146
- package/esm5/lib/igx-geographic-scatter-area-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-scatter-area-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-scatter-area-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-scatter-area-series-module.js +30 -26
- package/esm5/lib/igx-geographic-scatter-area-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-shape-series-base-base-component.js +31 -24
- package/esm5/lib/igx-geographic-shape-series-base-base-component.js.map +1 -1
- package/esm5/lib/igx-geographic-shape-series-base-component.js +306 -335
- package/esm5/lib/igx-geographic-shape-series-base-component.js.map +1 -1
- package/esm5/lib/igx-geographic-shape-series-component.js +325 -309
- package/esm5/lib/igx-geographic-shape-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-shape-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-shape-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-shape-series-module.js +30 -26
- package/esm5/lib/igx-geographic-shape-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-symbol-series-base-component.js +31 -24
- package/esm5/lib/igx-geographic-symbol-series-base-component.js.map +1 -1
- package/esm5/lib/igx-geographic-symbol-series-component.js +222 -388
- package/esm5/lib/igx-geographic-symbol-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-symbol-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-symbol-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-symbol-series-module.js +30 -26
- package/esm5/lib/igx-geographic-symbol-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-tile-series-component.js +120 -117
- package/esm5/lib/igx-geographic-tile-series-component.js.map +1 -1
- package/esm5/lib/igx-geographic-tile-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-geographic-tile-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-geographic-tile-series-module.js +30 -26
- package/esm5/lib/igx-geographic-tile-series-module.js.map +1 -1
- package/esm5/lib/igx-geographic-xy-triangulating-series-base-component.js +31 -24
- package/esm5/lib/igx-geographic-xy-triangulating-series-base-component.js.map +1 -1
- package/esm5/lib/igx-geographic-xy-triangulating-series-component.js +151 -165
- package/esm5/lib/igx-geographic-xy-triangulating-series-component.js.map +1 -1
- package/esm5/lib/igx-image-tiles-ready-event-args.js +3 -3
- package/esm5/lib/igx-images-changed-event-args.js +3 -3
- package/esm5/lib/igx-open-street-map-imagery-dynamic-module.js +34 -31
- package/esm5/lib/igx-open-street-map-imagery-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-open-street-map-imagery-module.js +28 -24
- package/esm5/lib/igx-open-street-map-imagery-module.js.map +1 -1
- package/esm5/lib/igx-open-street-map-imagery.js +6 -6
- package/esm5/lib/igx-open-street-map-imagery.js.map +1 -1
- package/esm5/lib/igx-sub-domains-collection.js +4 -4
- package/esm5/lib/igx-sub-domains-collection.js.map +1 -1
- package/esm5/lib/igx-tile-generator-map-imagery-dynamic-module.js +34 -31
- package/esm5/lib/igx-tile-generator-map-imagery-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-tile-generator-map-imagery-module.js +28 -24
- package/esm5/lib/igx-tile-generator-map-imagery-module.js.map +1 -1
- package/esm5/lib/igx-tile-generator-map-imagery.js +6 -6
- package/esm5/lib/igx-tile-generator-map-imagery.js.map +1 -1
- package/esm5/lib/igx-tile-series-component.js +86 -80
- package/esm5/lib/igx-tile-series-component.js.map +1 -1
- package/esm5/lib/igx-tile-series-dynamic-module.js +34 -31
- package/esm5/lib/igx-tile-series-dynamic-module.js.map +1 -1
- package/esm5/lib/igx-tile-series-module.js +29 -25
- package/esm5/lib/igx-tile-series-module.js.map +1 -1
- package/esm5/public_api.js +4 -0
- package/esm5/public_api.js.map +1 -1
- package/fesm2015/igniteui-angular-maps.js +8660 -8047
- package/fesm2015/igniteui-angular-maps.js.map +1 -1
- package/fesm5/igniteui-angular-maps.js +7947 -7583
- package/fesm5/igniteui-angular-maps.js.map +1 -1
- package/igniteui-angular-maps.d.ts +1 -0
- package/lib/ArcGISOnlineMapImagery.d.ts +16 -8
- package/lib/BingMapsMapImageryView_combined.d.ts +10 -5
- package/lib/GeographicContourLineSeriesView_combined.d.ts +22 -17
- package/lib/GeographicHighDensityScatterSeriesView_combined.d.ts +39 -36
- package/lib/GeographicMapSeriesHost_combined.d.ts +61 -47
- package/lib/GeographicMarkerSeries.d.ts +32 -0
- package/lib/GeographicMarkerSeriesBase.d.ts +10 -0
- package/lib/GeographicPolylineSeriesView_combined.d.ts +16 -14
- package/lib/GeographicProportionalSymbolSeriesBase.d.ts +3 -3
- package/lib/GeographicProportionalSymbolSeriesBaseView.d.ts +3 -3
- package/lib/GeographicProportionalSymbolSeriesView_combined.d.ts +50 -63
- package/lib/GeographicShapeSeriesBaseBase.d.ts +1 -1
- package/lib/GeographicShapeSeriesBaseBaseView.d.ts +1 -1
- package/lib/GeographicShapeSeriesBase_combined.d.ts +30 -32
- package/lib/GeographicShapeSeriesView_combined.d.ts +42 -32
- package/lib/GeographicSymbolSeriesBase.d.ts +3 -3
- package/lib/GeographicSymbolSeriesBaseView.d.ts +3 -3
- package/lib/GeographicSymbolSeriesView_combined.d.ts +37 -50
- package/lib/GeographicTileSeries.d.ts +10 -8
- package/lib/GeographicXYTriangulatingSeriesBase.d.ts +1 -1
- package/lib/GeographicXYTriangulatingSeriesBaseView.d.ts +1 -1
- package/lib/LevelOfDetailResponseModel.d.ts +6 -3
- package/lib/MapServerResponseModel.d.ts +4 -2
- package/lib/SphericalMercatorVerticalScaler.d.ts +2 -2
- package/lib/TileInfoResponseModel.d.ts +2 -1
- package/lib/TileSeries_combined.d.ts +25 -20
- package/lib/TokenResponseModel.d.ts +6 -3
- package/lib/XamGeographicMap_combined.d.ts +146 -135
- package/lib/igx-arc-gis-online-map-imagery-dynamic-module.d.ts +6 -0
- package/lib/igx-arc-gis-online-map-imagery-module.d.ts +5 -0
- package/lib/igx-arc-gis-online-map-imagery.d.ts +17 -9
- package/lib/igx-bing-maps-map-imagery-dynamic-module.d.ts +6 -0
- package/lib/igx-bing-maps-map-imagery-module.d.ts +5 -0
- package/lib/igx-bing-maps-map-imagery.d.ts +23 -12
- package/lib/igx-custom-map-imagery-dynamic-module.d.ts +6 -0
- package/lib/igx-custom-map-imagery-module.d.ts +5 -0
- package/lib/igx-custom-map-imagery.d.ts +2 -2
- package/lib/igx-geographic-contour-line-series-component.d.ts +22 -15
- package/lib/igx-geographic-contour-line-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-contour-line-series-module.d.ts +7 -0
- package/lib/igx-geographic-high-density-scatter-series-component.d.ts +33 -22
- package/lib/igx-geographic-high-density-scatter-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-high-density-scatter-series-module.d.ts +7 -0
- package/lib/igx-geographic-map-component.d.ts +55 -27
- package/lib/igx-geographic-map-core-dynamic-module.d.ts +10 -0
- package/lib/igx-geographic-map-core-module.d.ts +10 -0
- package/lib/igx-geographic-map-dynamic-module.d.ts +18 -0
- package/lib/igx-geographic-map-imagery.d.ts +19 -12
- package/lib/igx-geographic-map-module.d.ts +17 -0
- package/lib/igx-geographic-map-series-host-component.d.ts +18 -10
- package/lib/igx-geographic-marker-series-base-component.d.ts +12 -0
- package/lib/igx-geographic-marker-series-component.d.ts +82 -0
- package/lib/igx-geographic-polyline-series-component.d.ts +19 -16
- package/lib/igx-geographic-polyline-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-polyline-series-module.d.ts +7 -0
- package/lib/igx-geographic-proportional-symbol-series-base-component.d.ts +6 -12
- package/lib/igx-geographic-proportional-symbol-series-component.d.ts +46 -74
- package/lib/igx-geographic-proportional-symbol-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-proportional-symbol-series-module.d.ts +7 -0
- package/lib/igx-geographic-scatter-area-series-component.d.ts +25 -14
- package/lib/igx-geographic-scatter-area-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-scatter-area-series-module.d.ts +7 -0
- package/lib/igx-geographic-shape-series-base-base-component.d.ts +4 -10
- package/lib/igx-geographic-shape-series-base-component.d.ts +26 -21
- package/lib/igx-geographic-shape-series-component.d.ts +50 -24
- package/lib/igx-geographic-shape-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-shape-series-module.d.ts +7 -0
- package/lib/igx-geographic-symbol-series-base-component.d.ts +6 -12
- package/lib/igx-geographic-symbol-series-component.d.ts +28 -65
- package/lib/igx-geographic-symbol-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-symbol-series-module.d.ts +7 -0
- package/lib/igx-geographic-tile-series-component.d.ts +13 -13
- package/lib/igx-geographic-tile-series-dynamic-module.d.ts +6 -0
- package/lib/igx-geographic-tile-series-module.d.ts +7 -0
- package/lib/igx-geographic-xy-triangulating-series-base-component.d.ts +4 -10
- package/lib/igx-geographic-xy-triangulating-series-component.d.ts +18 -17
- package/lib/igx-image-tiles-ready-event-args.d.ts +1 -1
- package/lib/igx-images-changed-event-args.d.ts +1 -1
- package/lib/igx-open-street-map-imagery-dynamic-module.d.ts +6 -0
- package/lib/igx-open-street-map-imagery-module.d.ts +5 -0
- package/lib/igx-open-street-map-imagery.d.ts +3 -2
- package/lib/igx-tile-generator-map-imagery-dynamic-module.d.ts +6 -0
- package/lib/igx-tile-generator-map-imagery-module.d.ts +5 -0
- package/lib/igx-tile-generator-map-imagery.d.ts +3 -2
- package/lib/igx-tile-series-component.d.ts +11 -11
- package/lib/igx-tile-series-dynamic-module.d.ts +6 -0
- package/lib/igx-tile-series-module.d.ts +6 -0
- package/package.json +5 -5
- package/public_api.d.ts +4 -0
- package/igniteui-angular-maps.metadata.json +0 -1
|
@@ -1,780 +1,735 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
https://www.infragistics.com/legal/license/igultimate-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { EventEmitter, Output,
|
|
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 {
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Represents the Infragistics IgxGeographicMapComponent control.
|
|
28
|
-
*/
|
|
29
|
-
var IgxGeographicMapComponent = /** @class */ (function (_super) {
|
|
30
|
-
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
this.
|
|
92
|
-
this.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
var
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
_this._seriesAdapter.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
this.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
this.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
var
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
var
|
|
176
|
-
var
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
i.
|
|
187
|
-
i.
|
|
188
|
-
i.
|
|
189
|
-
|
|
190
|
-
_this.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
wrapper.
|
|
200
|
-
wrapper
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
var
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
var
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
var
|
|
228
|
-
var
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
*
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
*
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
*
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
*
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
this.
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
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
|
-
|
|
532
|
-
|
|
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
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
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
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
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
|
|
567
|
-
*/
|
|
568
|
-
IgxGeographicMapComponent.prototype.
|
|
569
|
-
var iv = this.i.
|
|
570
|
-
return
|
|
571
|
-
};
|
|
572
|
-
|
|
573
|
-
|
|
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
|
|
576
|
-
*/
|
|
577
|
-
IgxGeographicMapComponent.prototype.
|
|
578
|
-
var iv = this.i.
|
|
579
|
-
return
|
|
580
|
-
};
|
|
581
|
-
/**
|
|
582
|
-
* Convert a
|
|
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
|
|
585
|
-
*/
|
|
586
|
-
IgxGeographicMapComponent.prototype.
|
|
587
|
-
var iv = this.i.
|
|
588
|
-
return fromPoint(iv);
|
|
589
|
-
};
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
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
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
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
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
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.
|
|
609
|
-
|
|
610
|
-
|
|
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.
|
|
617
|
-
|
|
618
|
-
|
|
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.
|
|
625
|
-
this.i.
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
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.
|
|
632
|
-
var iv = this.i.
|
|
633
|
-
return (iv);
|
|
634
|
-
};
|
|
635
|
-
/**
|
|
636
|
-
*
|
|
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
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
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
|