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

Moving Object Disappears When Clustering Is Enabled

3 Answers 79 Views
Map
This is a migrated thread and some comments may be shown as answers.
Sayyed Hossein
Top achievements
Rank 1
Sayyed Hossein asked on 23 Aug 2016, 06:33 AM

hi
well here is the scenario:
1-  I have a Radmap
2-  I have a Visualization Layer that :
    a)  its ItemSource is bound to a collection of objects
    b)  its item template is set to a usercontrol
    c)  Clustering is Enabled on it with AutoCalculateClusteringThreshold=false and ClusteringEnabledThreshold=16
3-  the objects mentioned in 2-a are moving objects meaning that their location is updated every half a second
the problem: when the zoom level is set to a level higher than the threshold mentioned in 2-c everything is okay and I see the object moving on the map BUT when the zoom level reaches levels lower than the threshold(which I assume is where the clustering methods come into action) the object blinks once or twice and disappears! until I zoom in and zoom out (and that's incase it doesn't move again or else it disappears again) .the item gets completely visible again when I zoom to levels higher than the threshold

thank you in advance for your help

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 24 Aug 2016, 07:20 AM
Hi Sayyed ,

We tried to reproduce such issue locally but we did not succeed. Can you please add more details on the following:
-- how do you animate the items in the layer to move
-- what are the controls used in the UserContros
-- do you use the default spring animations in the Map ?

Regards,
Petar Mladenov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Sayyed Hossein
Top achievements
Rank 1
answered on 28 Aug 2016, 03:12 AM

hi

thanks for the reply

1- the objects viewmodel has a property named Location which is binded to maplayer.location whenever the property changes and raisespropertychanged the item moves to the new location

2- the main part of the usercontrol is a radradialmenu with an ellipse and an image around it

3- yes we do

0
Petar Mladenov
Telerik team
answered on 31 Aug 2016, 07:04 AM
Hello Sayyed ,

We would like to investigate such issue on our side because we are currently unable to reproduce it.
Can you send us a reproducible project we can investigate locally ? You need to use some online sharing portals for this purpose. 

Regards,
Petar Mladenov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Map
Asked by
Sayyed Hossein
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Sayyed Hossein
Top achievements
Rank 1
Share this question
or