MPLocationClusterImageAdapter

interface MPLocationClusterImageAdapter

MPLocationClusterImageAdapter

Author

Mohammed Amine Naimi - Copyright © 2018 MapsPeople A/S. All rights reserved.

Functions

Link copied to clipboard
@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).
Link copied to clipboard
@NonNull
abstract fun getImageSize(@NonNull clusterId: String, count: Int): ImageSize
Callback for the application to determine the size of the grouping/clustering image representing a poi group.