LabelImage | MapGL | Urbi Documentation
MapGL JS API

LabelImage

Source image for text label background.

Properties
[]

Sets the space in pixels between the label text box and the edge of the stretched image for all four sides [top, right, bottom, left], like in CSS. [0, 0, 0, 0] by default.

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.