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