ClusteringEnabledThreshold Not Working As Expected

3 posts, 1 answers
  1. BobK
    BobK avatar
    7 posts
    Member since:
    Dec 2014

    Posted 22 Feb 2015 Link to this post

    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
  2. Answer
    Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 25 Feb 2015 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. BobK
    BobK avatar
    7 posts
    Member since:
    Dec 2014

    Posted 25 Feb 2015 in reply to Pavel R. Pavlov Link to this post

    Hello, Pavel,

    Yes.  With the addition of AutoCalculateClusteringThreshold, clustering works as expected. 

    Thanks again for the great support!

    Regards,
    Bob
Back to Top