Class LatLngBounds

Index

Constructor methods

Methods

Constructor methods

constructor(sw?: LatLng, ne?: LatLng): LatLngBounds

Parameters

Returns

LatLngBounds

Methods

public contains(latLng: LatLng): boolean

Parameters

Returns

boolean

public equals(other: LatLngBounds): boolean

Parameters

Returns

boolean

public extend(point: LatLng): LatLngBounds

Parameters

Returns

LatLngBounds

public getCenter(): LatLng

Returns

LatLng

public getNorthEast(): LatLng

Returns

LatLng

public getSouthWest(): LatLng

Returns

LatLng

public intersects(other: LatLngBounds): boolean

Parameters

Returns

boolean

public isEmpty(): boolean

Returns

boolean

public toSpan(): LatLng

Returns

LatLng

public toString(): string

Returns

string

public toUrlValue(precision?: number): string

Parameters

  • precision?: number optional

Returns

string

public union(other: LatLngBounds): LatLngBounds

Parameters

Returns

LatLngBounds