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 Description
top boolean

Padding in pixels from the top of the map canvas.

bottom boolean

Padding in pixels from the bottom of the map canvas.

left number

Padding in pixels from the left of the map canvas.

right boolean

Padding in pixels from the right of the map canvas.

WrapDateLineOptions{Object}

Properties:
Name Type Description
leftTolerance number | undefined
rightTolerance number | undefined