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

Method _combineOptions

src/google-maps/map-polygon/map-polygon.ts:229–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227 }
228
229 private _combineOptions(): Observable<google.maps.PolygonOptions> {
230 return combineLatest([this._options, this._paths]).pipe(
231 map(([options, paths]) => {
232 const combinedOptions: google.maps.PolygonOptions = {
233 ...options,
234 paths: paths || options.paths,
235 };
236 return combinedOptions;
237 }),
238 );
239 }
240
241 private _watchForOptionsChanges() {
242 this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {

Callers 1

ngOnInitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected