packages/core/src/lib/services/fit-bounds.ts
The FitBoundsService is responsible for computing the bounds of the a single map.
Properties |
|
Methods |
constructor(loader: MapsAPILoader)
|
||||||
Parameters :
|
Protected _createIdentifier | ||||||
_createIdentifier(latLng: google.maps.LatLng | google.maps.LatLngLiteral)
|
||||||
Parameters :
Returns :
string
|
Private _generateBounds | ||||||
_generateBounds(includeInBounds: Map
|
||||||
Parameters :
Returns :
any
|
addToBounds | ||||||
addToBounds(latLng: google.maps.LatLng | google.maps.LatLngLiteral)
|
||||||
Parameters :
Returns :
void
|
changeFitBoundsChangeSampleTime | ||||||
changeFitBoundsChangeSampleTime(timeMs: number)
|
||||||
Parameters :
Returns :
void
|
getBounds$ |
getBounds$()
|
Returns :
Observable<google.maps.LatLngBounds>
|
removeFromBounds | ||||||
removeFromBounds(latLng: google.maps.LatLng | google.maps.LatLngLiteral)
|
||||||
Parameters :
Returns :
void
|
Protected Readonly _boundsChangeSampleTime$ |
Default value : new BehaviorSubject<number>(200)
|
Protected Readonly _includeInBounds$ |
Default value : new BehaviorSubject<BoundsMap>(new Map<string, google.maps.LatLng | google.maps.LatLngLiteral>())
|
Protected Readonly bounds$ |
Type : Observable<google.maps.LatLngBounds>
|