Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/google-maps/map-marker/map-marker.ts:350–354 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
348
}
349
350
ngOnDestroy() {
351
this.markerInitialized.complete();
352
this._eventManager.destroy();
353
this.marker?.setMap(null);
354
}
355
356
/**
357
* See
Callers
nothing calls this directly
Calls
1
destroy
Method · 0.65
Tested by
no test coverage detected