File

src/app/components/map/map.component.ts

Description

Map component ~implements OnInit ~implements OnDestroy ~implements AfterViewInit

Implements

OnInit OnDestroy AfterViewInit

Metadata

Index

Properties
Methods
Inputs
HostListeners

Constructor

constructor(portfolioService: PortfolioService, mapService: MapService, engine: EngineService)

Constructs the Map component.

Parameters :
Name Type Optional Description
portfolioService PortfolioService No

The portfolio service injected dependency.

mapService MapService No

The map service injected dependency.

engine EngineService No

The engine service injected dependency.

Inputs

key
Type : any

Entity key.

HostListeners

window:beforeprint
Arguments : '$event'
window:beforeprint(_event: Event)

The beforeprint host listener

window:resize
window:resize()

The resize host listener

Methods

Public Async drawMap
drawMap()

Draws a map.

Returns : any
ngAfterViewInit
ngAfterViewInit()

Initialization

Returns : void
ngOnDestroy
ngOnDestroy()

Cleanup

Returns : void
ngOnInit
ngOnInit()

Subscription

Returns : void
onBeforePrint
onBeforePrint(_event: Event)
Decorators :
@HostListener('window:beforeprint', ['$event'])

The beforeprint host listener

Parameters :
Name Type Optional
_event Event No
Returns : void
onResize
onResize()
Decorators :
@HostListener('window:resize')

The resize host listener

Returns : void

Properties

Optional map
Type : ElementRef
Decorators :
@ViewChild('map')

The map element.

Optional mapHTMLElement
Type : HTMLDivElement

The map html element.

./map.component.scss

@use "../stylesheets/stylesheets.component.scss";
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""