()
| 331 | } |
| 332 | |
| 333 | ngOnDestroy() { |
| 334 | this.mapInitialized.complete(); |
| 335 | this._eventManager.destroy(); |
| 336 | |
| 337 | if (this._isBrowser) { |
| 338 | const googleMapsWindow: GoogleMapsWindow = window; |
| 339 | googleMapsWindow.gm_authFailure = this._existingAuthFailureCallback; |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | /** |
| 344 | * See |