MapOptions | MapGL | 2GIS Documentation

MapOptions

Map initialization options.

Properties
number[]

Map center in geographical coordinates ([longitude, latitude]).

undefinedfalsetrue

Disable map zoom on scrolling over the map container.

undefinedstring

The key that allows usage of the API.

undefinednumber

Maximum map pitch in degrees.

undefinednumber

Maximum map zoom.

undefinednumber

Minimum map pitch in degrees.

undefinednumber

Minimum map zoom.

undefinednumber

Map pitch in degrees.

undefinednumber

Map rotation in degrees.

undefinedfalsetrue

Whether a traffic control should be added during the map initialization. By default it's false.

undefinednumber

Map zoom.

undefinedfalsetrue

Whether a zoom control should be added during the map initialization. By default it's true.