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

Method _assertInitialized

src/google-maps/map-circle/map-circle.ts:302–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300 }
301
302 private _assertInitialized(): asserts this is {circle: google.maps.Circle} {
303 if (typeof ngDevMode === 'undefined' || ngDevMode) {
304 if (!this.circle) {
305 throw Error(
306 'Cannot interact with a Google Map Circle before it has been ' +
307 'initialized. Please wait for the Circle to load before trying to interact with it.',
308 );
309 }
310 }
311 }
312}

Callers 10

_initializeMethod · 0.95
getBoundsMethod · 0.95
getCenterMethod · 0.95
getDraggableMethod · 0.95
getEditableMethod · 0.95
getRadiusMethod · 0.95
getVisibleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected