Type alias CenterZoomBearing

CenterZoomBearing: {
    bearing?: number;
    center?: LngLatLike;
    zoom?: number;
}

Holds center, zoom and bearing properties

Type declaration

  • Optional bearing?: number

    The desired bearing in degrees. The bearing is the compass direction that is "up". For example, bearing: 90 orients the map so that east is up.

  • Optional center?: LngLatLike

    The desired center.

  • Optional zoom?: number

    The desired zoom level.