getImage

@Nullable
abstract fun getImage(    @NonNull clusterId: String,     @NonNull locations: List<MPLocation>,     @NonNull imageSize: ImageSize): Bitmap

Callback for synchronously providing an image for a POI group (aka POI cluster).

Return

The resulting Bitmap or null

Parameters

clusterId

The clusterId of the poi group.

locations

List of locations (POIs) that will form the cluster

imageSize

The image size to return