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

Load Clustered Data on Map Async

3 Answers 86 Views
Map
This is a migrated thread and some comments may be shown as answers.
vinutha
Top achievements
Rank 1
vinutha asked on 02 Feb 2015, 07:17 AM
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

3 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 04 Feb 2015, 02:25 PM
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.

 
0
vinutha
Top achievements
Rank 1
answered on 05 Feb 2015, 09:03 AM
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}" >






0
Pavel R. Pavlov
Telerik team
answered on 09 Feb 2015, 01:01 PM
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.

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