addImagesAsync

Adds images asynchronously, to be used in the map's style.

Parameters

images

the map of images to add


open fun addImagesAsync(@NonNull images: HashMap<String, Bitmap>, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)

Adds images asynchronously, to be used in the map's style.

Parameters

images

the map of images to add

stretchX

image stretch areas for x axix

stretchY

image stretch areas for y axix

content

image content for text to fit


open fun addImagesAsync(@NonNull images: HashMap<String, Bitmap>, sdf: Boolean)

Adds images asynchronously, to be used in the map's style.

Parameters

images

the map of images to add

sdf

the flag indicating image is an SDF or template image


open fun addImagesAsync(@NonNull images: HashMap<String, Bitmap>, sdf: Boolean, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)

Adds images asynchronously, to be used in the map's style.

Parameters

images

the map of images to add

sdf

the flag indicating image is an SDF or template image

stretchX

image stretch areas for x axix

stretchY

image stretch areas for y axix

content

image content for text to fit