MCPcopy Index your code
hub / github.com/angular/components / _initialize

Method _initialize

src/google-maps/google-map/google-map.ts:321–327  ·  view source on GitHub ↗
(mapConstructor: typeof google.maps.Map)

Source from the content-addressed store, hash-verified

319 }
320
321 private _initialize(mapConstructor: typeof google.maps.Map) {
322 this._ngZone.runOutsideAngular(() => {
323 this.googleMap = new mapConstructor(this._mapEl, this._combineOptions());
324 this._eventManager.setTarget(this.googleMap);
325 this.mapInitialized.emit(this.googleMap);
326 });
327 }
328
329 ngOnDestroy() {
330 this.mapInitialized.complete();

Callers 1

ngOnInitMethod · 0.95

Calls 2

_combineOptionsMethod · 0.95
setTargetMethod · 0.80

Tested by

no test coverage detected