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

Method panToBounds

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

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

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

Source from the content-addressed store, hash-verified

375 * https://developers.google.com/maps/documentation/javascript/reference/map#Map.panToBounds
376 */
377 panToBounds(
378 latLngBounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral,
379 padding?: number | google.maps.Padding,
380 ) {
381 this._assertInitialized();
382 this.googleMap.panToBounds(latLngBounds, padding);
383 }
384
385 /**
386 * See

Callers 1

google-map.spec.tsFile · 0.80

Calls 1

_assertInitializedMethod · 0.95

Tested by

no test coverage detected