MCPcopy
hub / github.com/angular/components / _resolveMap

Method _resolveMap

src/google-maps/google-map/google-map.ts:499–503  ·  view source on GitHub ↗

Returns a promise that resolves when the map has been initialized.

()

Source from the content-addressed store, hash-verified

497
498 /** Returns a promise that resolves when the map has been initialized. */
499 _resolveMap(): Promise<google.maps.Map> {
500 return this.googleMap
501 ? Promise.resolve(this.googleMap)
502 : this.mapInitialized.pipe(take(1)).toPromise();
503 }
504
505 private _setSize() {
506 if (this._mapEl) {

Callers 14

ngOnInitMethod · 0.80
_createClusterMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected