mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Return clustering

Open itissvyatoslavTT opened this issue 3 years ago • 3 comments

New Feature

<- Description of the feature being requested and any outcomes desired, an example use case, and any suggestions for solution ->

Good afternoon! I need to show all the marks on the map at once, regardless of the zoom. Couldn't find how to do it in version 10. GeoJSONSource.cluster = nil and false don't help to solve the problem. I came across on StackOverflow that clustering is now automatic. Thank you in advance!

Why

<- 1-2 sentence description of why you're requesting this feature. What problem does it solve? Why is it valuable? -> I need flexible configuration of clustering on the map

itissvyatoslavTT avatar Jul 11 '22 10:07 itissvyatoslavTT

Hi there, have you seen our clustering examples below:

ZiZasaurus avatar Jul 12 '22 13:07 ZiZasaurus

Hello You have submitted code examples where clustering is used (clustering = true). But if in the same example we fix it to clustering = false or clustering = nil, then clustering still remains. I have a task not to use clustering, can you tell me how to do it? Thank you!

itissvyatoslavTT avatar Jul 18 '22 08:07 itissvyatoslavTT

@itissvyatoslavTT, this is not my experience. When I set cluster to false for the Symbol clustering example, I receiving the following:

Simulator Screen Shot - iPhone 12 - 2022-08-18 at 12 55 11

compared to when clustering is set to true:

Simulator Screen Shot - iPhone 12 - 2022-08-18 at 12 54 04

Clustering also performs as expected with point annotations.

ZiZasaurus avatar Aug 18 '22 16:08 ZiZasaurus