Skip to content

replaceSmartLabelImageData

Description

Replaces the image data of the specified Smart Label object.

Syntax

public func replaceSmartLabelImageData(mapId: Int, image: UIImage) async throws

Parameter

mapId

Specifies the map ID of the target object.
The map ID can be checked in the application's UI.

Image Object Map ID

image

The image content to replace the existing value with.
Specify an object of type UIKit.UIImage.