FitBoundsOptions | MapGL | 2GIS Documentation

FitBoundsOptions

Properties

Animation options.

undefinedfalsetrue

If true the fitBounds will consider the map rotation

Partial<Padding>

The amount of padding in pixels to add to the given bounds.

undefinedfalsetrue

If true fitBounds ignores the padding property in the map options