This is a migrated thread and some comments may be shown as answers.

ClusteringEnabledThreshold Not Working As Expected

1 Answer 70 Views
Map
This is a migrated thread and some comments may be shown as answers.
BobK
Top achievements
Rank 1
BobK asked on 22 Feb 2015, 06:25 PM
Hello,

My VisualizationLayer has the setting ClusteringEnabledThreshold="11", but clustering continues at higher zoom levels (e.g., at 18).  Setting the ClusteringEnabledThreshold does not seem to stop clustering.  (I suspect I'm mis-interpreting how this parameter is to be used). 

Can you please provide guidance? 

The specific layer definition is:
  <telerik:VisualizationLayer x:Name="mainVizLayer" ItemTemplateSelector="{StaticResource WellSymbolTemplateSelector}"
                                             ClusteringEnabled="True" ClusteringEnabledThreshold="11">
</telerik:VisualizationLayer>

Thank you,
Bob

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavel R. Pavlov
Telerik team
answered on 25 Feb 2015, 11:45 AM
Hello Bob,

In order to allow the ClusteringEnabledThreshold to work as expected you need to first set the AutoCalculateClusteringThreshold to false.

Please give this approach a try and let us know if you need any further assistance.

Regards,
Pavel R. Pavlov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Map
Asked by
BobK
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or