Asserts that the map has been initialized.
()
| 533 | |
| 534 | /** Asserts that the map has been initialized. */ |
| 535 | private _assertInitialized(): asserts this is {googleMap: google.maps.Map} { |
| 536 | if (!this.googleMap && (typeof ngDevMode === 'undefined' || ngDevMode)) { |
| 537 | throw Error( |
| 538 | 'Cannot access Google Map information before the API has been initialized. ' + |
| 539 | 'Please wait for the API to load before trying to interact with it.', |
| 540 | ); |
| 541 | } |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | const cssUnitsPattern = /([A-Za-z%]+)$/; |
no outgoing calls
no test coverage detected