MCPcopy Index your code
hub / github.com/angular/components / _combineOptions

Method _combineOptions

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

Source from the content-addressed store, hash-verified

262 }
263
264 private _combineOptions(): Observable<google.maps.CircleOptions> {
265 return combineLatest([this._options, this._center, this._radius]).pipe(
266 map(([options, center, radius]) => {
267 const combinedOptions: google.maps.CircleOptions = {
268 ...options,
269 center: center || options.center,
270 radius: radius !== undefined ? radius : options.radius,
271 };
272 return combinedOptions;
273 }),
274 );
275 }
276
277 private _watchForOptionsChanges() {
278 this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {

Callers 1

ngOnInitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected