Returns a promise that resolves when the map has been initialized.
()
| 501 | |
| 502 | /** Returns a promise that resolves when the map has been initialized. */ |
| 503 | _resolveMap(): Promise<google.maps.Map> { |
| 504 | return this.googleMap |
| 505 | ? Promise.resolve(this.googleMap) |
| 506 | : this.mapInitialized.pipe(take(1)).toPromise(); |
| 507 | } |
| 508 | |
| 509 | private _setSize() { |
| 510 | if (this._mapEl) { |
no test coverage detected