Hi there, I would ask if there is a way to use both the clustering system offered by the clustered datas source and the dynamic layer / virtualization layer.
I need to show a lot of symbols in the map and I need also the clustering. There is any way to achieve this?
Thank you.
I need to show a lot of symbols in the map and I need also the clustering. There is any way to achieve this?
Thank you.
4 Answers, 1 is accepted
0
Accepted
Hello Alberto,
I would recommend you to take a look into the new visualization engine introduced in 2013.Q2 release. This engine is based on the VisualizationLayer class and have integrated support for clustering and virtualization. You can find example here:
http://demos.telerik.com/silverlight/#Map/ClusterVirtualization
Regards,
Andrey Murzov
Telerik
I would recommend you to take a look into the new visualization engine introduced in 2013.Q2 release. This engine is based on the VisualizationLayer class and have integrated support for clustering and virtualization. You can find example here:
http://demos.telerik.com/silverlight/#Map/ClusterVirtualization
Regards,
Andrey Murzov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Alberto
Top achievements
Rank 1
answered on 04 Oct 2013, 01:10 PM
Thank you very much, it is just what I was looking for.
0
Alberto
Top achievements
Rank 1
answered on 07 Oct 2013, 02:43 PM
I'm encountering another little problem.
I'm using the VisualizationLayer with a custom VirtualizationSource (I inherited from IMapItemsVirtualizationSource and I fetch my objects asynchronously from a web service).
Everything works as expected, but I need to know when the objects shown on map change.
For now I use this dirty workaround:
There is any event or another approach that I can use?
Thanks.
I'm using the VisualizationLayer with a custom VirtualizationSource (I inherited from IMapItemsVirtualizationSource and I fetch my objects asynchronously from a web service).
Everything works as expected, but I need to know when the objects shown on map change.
For now I use this dirty workaround:
this
.VisualizationLayer.LayoutUpdated += (s, e) =>
{
var visibleElements =
this
.VisualizationLayer.GetItemsInRectangle(
this
.Map.LocationRect);
};
Thanks.
0
Hello Alberto,
The GetItemsInRectangle is a single way to get objects within viewport. I think you should handle the RadMap.PanningFinished and RadMap.ZoomingFinished events. Also you should update the list of visible objects after you add items asynchronously from a web service using the CompleteItemsRequest method.
Regards,
Andrey Murzov
Telerik
The GetItemsInRectangle is a single way to get objects within viewport. I think you should handle the RadMap.PanningFinished and RadMap.ZoomingFinished events. Also you should update the list of visible objects after you add items asynchronously from a web service using the CompleteItemsRequest method.
Regards,
Andrey Murzov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>