MCPcopy Create free account
hub / github.com/angular/components / fitBounds

Method fitBounds

src/google-maps/google-map/google-map.ts:347–353  ·  view source on GitHub ↗

* See * https://developers.google.com/maps/documentation/javascript/reference/map#Map.fitBounds

(
    bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral,
    padding?: number | google.maps.Padding,
  )

Source from the content-addressed store, hash-verified

345 * https://developers.google.com/maps/documentation/javascript/reference/map#Map.fitBounds
346 */
347 fitBounds(
348 bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral,
349 padding?: number | google.maps.Padding,
350 ) {
351 this._assertInitialized();
352 this.googleMap.fitBounds(bounds, padding);
353 }
354
355 /**
356 * See

Callers 1

google-map.spec.tsFile · 0.80

Calls 1

_assertInitializedMethod · 0.95

Tested by

no test coverage detected