Load Clustered Data on Map Async

4 posts, 0 answers
  1. vinutha
    vinutha avatar
    11 posts
    Member since:
    Dec 2014

    Posted 02 Feb 2015 Link to this post

    I have a very large collection of Items Which needs to be displayed On MAP.

    I am using a VisualizationLayer with clustering Enabled . Could you please help me out to Load this data in an async Way . So that I don't have to wait for all the Items to be loaded to see the MAP and My application is Frozen till then .


    Regards
    Vinutha
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 04 Feb 2015 Link to this post

    Hello Vinutha,

    I believe that this question is well discussed in this forum thread. Please take a look at it and let me 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. vinutha
    vinutha avatar
    11 posts
    Member since:
    Dec 2014

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

    Hi ,
    Thank you for your Reply . The above solution used AsyncShapeFileReader. But I have a List of Location's Lat and Log that needs to be loaded With Clustering enabled . I am able to get it using a background worker but once I enable Clustering  no data is loaded .Could you please help with this approach .
     <local:MassiveDataSource x:Key="MassiveDataSource2"  />
     <telerik:VisualizationLayer x:Name="visualizationLayer"
    ClusteringEnabled="True"
    ClusterTemplateSelector="{StaticResource TemplateSelector}"
    ItemTemplate="{StaticResource ClusteredItemTemplate}"
    GenerateClustersOnZoom="True"
     ItemsSource="{StaticResource MassiveDataSource}" >






  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 09 Feb 2015 Link to this post

    Hi,

    I tried to reproduce the reported issue on our side and it seems that the code works as expected. Could you please take a look at the attached project and let me know if it works on your side. It would be great if you can change the code so that the issue can be reproduced and send it over. This will allow us to start investigating the reasons behind the issue.

    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.

     
Back to Top