Ios mapgl maps reference LabelImage | 2GIS Documentation

LabelImage

Label background image

public init(
	image: UIImage,
	padding: UIEdgeInsets = .zero
)

Source image for text label background.

Parameters
image
UIImage

Background image

padding
UIEdgeInsets

Sets the space in pixels between the label text box and the edge of the stretched image for all four sides

Properties

Background image

space in pixels between the label text box and the edge of the stretched image