Module: cercaliagl/Bounds


Classes

Bounds

Type Definitions

BoundsOptions{Object}

Properties:
Name Type Description
animation boolean

Animation.

bearing number

Map bearing

duration number

Duration if animation is enabled. Default 2000.

maxZoom number

Maximum zoom level when fitting the bounds.

padding number | module:cercaliagl/Bounds~BoundsPadding

Padding in pixels from the bounds to the map canvas.

pitch number

Map pitch.

BoundsPadding{Object}

Properties:
Name Type Argument Description
top boolean <optional>

Padding in pixels from the top of the map canvas.

bottom boolean <optional>

Padding in pixels from the bottom of the map canvas.

left number <optional>

Padding in pixels from the left of the map canvas.

right boolean <optional>

Padding in pixels from the right of the map canvas.

WrapDateLineOptions{Object}

Properties:
Name Type Argument Description
leftTolerance number <optional>
rightTolerance number <optional>