Represents the Infragistics IgxGeographicMapComponent control.

IgxGeographicMapComponent

new IgxGeographicMapComponent(_renderer: Renderer2, _elRef: ViewContainerRef, _ngZone: NgZone, _injector: Injector): IgxGeographicMapComponent

Returns IgxGeographicMapComponent

_dynamicContent: ViewContainerRef

The series actually present in the chart. Do not directly modify this array. This array's contents can be modified by causing Angular to reproject the child content. Or adding and removing series from the manual series collection on the series property.

actualSeries: IgxSeriesComponent[]
contentSeries: QueryList<IgxSeriesComponent>

ngAcceptInputType_actualWindowScale

Section titled "ngAcceptInputType_actualWindowScale"
ngAcceptInputType_actualWindowScale: string | number
ngAcceptInputType_actualWorldRect: any

ngAcceptInputType_backgroundTilingMode

Section titled "ngAcceptInputType_backgroundTilingMode"
ngAcceptInputType_backgroundTilingMode: string | MapBackgroundTilingMode

ngAcceptInputType_isHorizontalWrappingEnabled

Section titled "ngAcceptInputType_isHorizontalWrappingEnabled"
ngAcceptInputType_isHorizontalWrappingEnabled: string | boolean
ngAcceptInputType_isMap: string | boolean
ngAcceptInputType_resizeBehavior: string | MapResizeBehavior

ngAcceptInputType_suppressZoomResetOnWorldRectChange

Section titled "ngAcceptInputType_suppressZoomResetOnWorldRectChange"
ngAcceptInputType_suppressZoomResetOnWorldRectChange: string | boolean

ngAcceptInputType_useWorldRectForZoomBounds

Section titled "ngAcceptInputType_useWorldRectForZoomBounds"
ngAcceptInputType_useWorldRectForZoomBounds: string | boolean
ngAcceptInputType_windowScale: string | number
ngAcceptInputType_worldRect: any
ngAcceptInputType_zoomable: string | boolean
ngAcceptInputType_zoomIsReady: string | boolean
ɵcmp: ɵɵComponentDeclaration<IgxGeographicMapComponent, "igx-geographic-map", never, object, object, ["contentSeries"], never, true, never>
ɵfac: ɵɵFactoryDeclaration<IgxGeographicMapComponent, never>

A number between 0 and 1 determining the scale of the horizontal/vertical zoom. This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.

get actualWindowScale(): number

Returns number

set actualWindowScale(v: number): void

Parameters

  • v: number

Returns void

Gets the actual value of the WorldRect.

get actualWorldRect(): IgRect

Returns IgRect

set actualWorldRect(v: IgRect): void

Parameters

  • v: IgRect

Returns void

An imagery to display behind all series, inside the viewport of the IgxGeographicMapComponent control.

get backgroundContent(): IgxGeographicMapImagery

Returns IgxGeographicMapImagery

set backgroundContent(v: IgxGeographicMapImagery): void

Parameters

Returns void

Gets or sets if the map should horizontally wrap.

get backgroundTilingMode(): MapBackgroundTilingMode

Returns MapBackgroundTilingMode

set backgroundTilingMode(v: MapBackgroundTilingMode): void

Parameters

Returns void

get dataSource(): any

Returns any

set dataSource(value: any): void

Parameters

  • value: any

Returns void

get height(): string

Returns string

set height(value: string): void

Parameters

  • value: string

Returns void

This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.

get imageTilesReady(): EventEmitter<object>

Returns EventEmitter<object>

Gets or sets if the map should horizontally wrap.

get isHorizontalWrappingEnabled(): boolean

Returns boolean

set isHorizontalWrappingEnabled(v: boolean): void

Parameters

  • v: boolean

Returns void

Indicates if this SeriesViewer is a map.

get isMap(): boolean

Returns boolean

Gets or sets the legend used for the current chart.

get legend(): any

Returns any

set legend(v: any): void

Parameters

  • v: any

Returns void

Gets or sets the behavior to use during resize.

get resizeBehavior(): MapResizeBehavior

Returns MapResizeBehavior

set resizeBehavior(v: MapResizeBehavior): void

Parameters

Returns void

A collection or manually added series for the chart.

get series(): IgxSeriesCollection

Returns IgxSeriesCollection

Gets or sets whether skip resetting the zoom when the world rect changes.

get suppressZoomResetOnWorldRectChange(): boolean

Returns boolean

set suppressZoomResetOnWorldRectChange(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.

get useWorldRectForZoomBounds(): boolean

Returns boolean

set useWorldRectForZoomBounds(v: boolean): void

Parameters

  • v: boolean

Returns void

get width(): string

Returns string

set width(value: string): void

Parameters

  • value: string

Returns void

A number between 0 and 1 determining the scale of the horizontal/vertical zoom. This property is effectively a shortcut to the Width/Height of the WindowRect property.

get windowScale(): number

Returns number

set windowScale(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the world bounding rectangle.

get worldRect(): IgRect

Returns IgRect

set worldRect(v: IgRect): void

Parameters

  • v: IgRect

Returns void

The X-axis for this IgxGeographicMap.Component 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.

get xAxis(): IgxNumericXAxisComponent

Returns IgxNumericXAxisComponent

set xAxis(v: IgxNumericXAxisComponent): void

Parameters

  • v: IgxNumericXAxisComponent

Returns void

The Y-axis for this IgxGeographicMap.Component 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.

get yAxis(): IgxNumericYAxisComponent

Returns IgxNumericYAxisComponent

set yAxis(v: IgxNumericYAxisComponent): void

Parameters

  • v: IgxNumericYAxisComponent

Returns void

Gets or sets zoomability of the current control

get zoomable(): boolean

Returns boolean

set zoomable(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets whether or not the control is ready for zooming

get zoomIsReady(): boolean

Returns boolean

bindData(): void

Returns void

Removes all cached tile images from the map imagery assigned to the map's background content.

clearTileCache(): void

Returns void

convertGeographicToZoom(geographic: IgRect, extraPixelPadding: number): IgRect

Parameters

  • geographic: IgRect
  • extraPixelPadding: number

Returns IgRect

Calls for a deferred refresh to the GeographicMap's background.

deferredRefresh(): void

Returns void

Returns the chart visuals expressed as a ChartVisualData object.

exportVisualData(): any

Returns any

findByName(name: string): any

Parameters

  • name: string

Returns any

Gets actual window scale for horizontal dimension of the control

getActualWindowScaleHorizontal(): number

Returns number

Gets actual window scale for vertical dimension of the control

getActualWindowScaleVertical(): number

Returns number

Gets current world rect in geographic coordinates

getCurrentActualWorldRect(): IgRect

Returns IgRect

Given a WindowRect and the current plot area, get the geographic region represented by that WindowRect.

getGeographicFromZoom(windowRect: IgRect): IgRect

Parameters

  • windowRect: IgRect
    • The zoom area.

Returns IgRect

Convert a pixel-based coordinate to a geographic coordinate.

getGeographicPoint(pixelCoordinate: IgPoint): IgPoint

Parameters

  • pixelCoordinate: IgPoint
    • A pixel-based coordinate

Returns IgPoint

Convert a geographic coordinate to a pixel-based coordinate.

getPixelPoint(geographicCoordinate: IgPoint): IgPoint

Parameters

  • geographicCoordinate: IgPoint
    • A geographic coordinate

Returns IgPoint

Convert a geographic coordinate to a pixel-based coordinate.

getWindowPoint(geographicCoordinate: IgPoint): IgPoint

Parameters

  • geographicCoordinate: IgPoint
    • A geographic coordinate

Returns IgPoint

getZoomFromGeographicPoints(northWest: IgPoint, southEast: IgPoint): IgRect

Parameters

  • northWest: IgPoint
  • southEast: IgPoint

Returns IgRect

Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.

getZoomFromGeographicRect(geographic: IgRect): IgRect

Parameters

  • geographic: IgRect
    • The geographic area.

Returns IgRect

Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.

getZoomRectFromGeoRect(geographic: IgRect): IgRect

Parameters

  • geographic: IgRect
    • The geographic area.

Returns IgRect

ngAfterContentInit(): void

Returns void

ngOnDestroy(): void

Returns void

Notifies the chart that the CSS styles in effect have been updated.

styleUpdated(): void

Returns void

Updates world rect in geographic coordinates

updateWorldRect(worldRect: IgRect): void

Parameters

  • worldRect: IgRect

Returns void

Updates zoom window using window coordinates

updateZoomWindow(zoomWindow: IgRect): void

Parameters

  • zoomWindow: IgRect

Returns void

Zoom in to the geographic region specified, when possible (may need to wait for map to be initialized).

zoomToGeographic(geographic: IgRect): void

Parameters

  • geographic: IgRect
    • The geographic region to zoom to.

Returns void