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

Method fitBounds

src/google-maps/google-map/google-map.ts:343–349  ·  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

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

Callers 1

google-map.spec.tsFile · 0.80

Calls 1

_assertInitializedMethod · 0.95

Tested by

no test coverage detected