Moving Object Disappears When Clustering Is Enabled

4 posts, 0 answers
  1. Sayyed Hossein
    Sayyed Hossein avatar
    20 posts
    Member since:
    Oct 2012

    Posted 23 Aug Link to this post

    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

  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 24 Aug Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sayyed Hossein
    Sayyed Hossein avatar
    20 posts
    Member since:
    Oct 2012

    Posted 27 Aug in reply to Petar Mladenov Link to this post

    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

  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 31 Aug Link to this post

    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.
Back to Top