Builder

Builder for creating LatLngBounds by including multiple points.

The builder calculates the smallest bounding box that contains all included points. It crosses the 180th meridian when that is narrower, e.g. for points in Fiji and Samoa.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Creates the LatLngBounds from the included points.

Link copied to clipboard

Includes a point in the bounds being built.