Creates a combined options object using the passed-in options and the individual inputs.
()
| 476 | |
| 477 | /** Creates a combined options object using the passed-in options and the individual inputs. */ |
| 478 | private _combineOptions(): google.maps.MarkerOptions { |
| 479 | const options = this._options || DEFAULT_MARKER_OPTIONS; |
| 480 | return { |
| 481 | ...options, |
| 482 | title: this._title || options.title, |
| 483 | position: this._position || options.position, |
| 484 | label: this._label || options.label, |
| 485 | clickable: this._clickable ?? options.clickable, |
| 486 | map: this._googleMap.googleMap, |
| 487 | icon: this._icon || options.icon, |
| 488 | visible: this._visible ?? options.visible, |
| 489 | }; |
| 490 | } |
| 491 | |
| 492 | private _assertInitialized(): asserts this is {marker: google.maps.Marker} { |
| 493 | if (typeof ngDevMode === 'undefined' || ngDevMode) { |
no outgoing calls
no test coverage detected