MCPcopy Create free account
hub / github.com/angular/components / _assertInitialized

Method _assertInitialized

src/google-maps/map-base-layer.ts:35–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 }
34
35 private _assertInitialized() {
36 if (!this._map.googleMap) {
37 throw Error(
38 'Cannot access Google Map information before the API has been initialized. ' +
39 'Please wait for the API to load before trying to interact with it.',
40 );
41 }
42 }
43
44 protected _initializeObject() {}
45 protected _setMap() {}

Callers 1

ngOnInitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected