StretchableImageSource | MapGL | 2GIS Documentation

StretchableImageSource

Stretchable image config object.

Properties
undefinednumber

The ratio of logical pixels in the image to physical pixels on the screen.

[]

[width, height] — image size in logical pixels

Array<[]>

Defines the parts of the image that can be stretched horizontally.

Array<[]>

Defines the parts of the image that can be stretched vertically.

string

Source image URL.