createPOICluster

fun createPOICluster(name: String, classIDs: List<Int>, image: Bitmap?, color: Int = 255, scale: Double = 1.0): Boolean

Create a POI cluster If a cluster already exists for the given name, the previous one will be deleted

Return

true if cluster has been created, false otherwise

Parameters

name

The cluster's name, used to identify the cluster

classIDs

A list of class ID which be added to the cluster

image

An optional image to draw the cluster (if no image has been provided, a default one will be used)

color

An optional RGBA color used to render the text (and the cluster if no image has been provided), default is black #000000FF

scale

An optional value to upscale/downscale the cluster, default value is no scale


fun createPOICluster(name: String, classIDs: List<Int>): Boolean

Create a POI cluster If a cluster already exists for the given name, the previous one will be deleted

Return

true if cluster has been created, false otherwise

Parameters

name

The cluster's name, used to identify the cluster

classIDs

A list of class ID which be added to the cluster


fun createPOICluster(name: String, classIDs: List<Int>, color: Int, scale: Double): Boolean

Create a POI cluster If a cluster already exists for the given name, the previous one will be deleted

Return

true if cluster has been created, false otherwise

Parameters

name

The cluster's name, used to identify the cluster

classIDs

A list of class ID which be added to the cluster

color

An color used to render the text

scale

An value to upscale/downscale the cluster


fun createPOICluster(name: String, classIDs: List<Int>, image: Bitmap?): Boolean

Create a POI cluster If a cluster already exists for the given name, the previous one will be deleted

Return

true if cluster has been created, false otherwise

Parameters

name

The cluster's name, used to identify the cluster

classIDs

A list of class ID which be added to the cluster

image

An optional image used by the cluster