Hide overlaped text on labels

2 posts, 0 answers
  1. Waqas
    Waqas avatar
    9 posts
    Member since:
    Oct 2011

    Posted 21 Jan 2014 Link to this post

    HI,

    I have a visualization layer which is bind with collection of labels. Here when i zoom in or zoom out, the text got cluttered on map. I want to hide only those labels which are causing this. I have attached 3 snapshots.

    In zoom-3 you can see, most of the labels are displaying, while in zoom-2, some labels which were causing the cluttering are removed/hidden, then in zoom-1 level, you can see that some of more labels are removed/hidden which were causing this cluttering.

    I want this in Radmap, I have tried to implement this by getting bounding rectangle and then finding each element in this are, but didn't get any success.

    Is there any way to do this in Radmap, i am looking to see any urgent help.

    Thanks
    Waqas Habib

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 22 Jan 2014 Link to this post

    Hi Waqas,

    If you are using the old visualization engine based on the InformationLayer then you can try the ClusteredDataSource. You can find details here.

    If you are using the new visualization engine based on the VisualizationLayer then you can try the integrated clustering feature. You can find examples of it in our demo application:

    I hope this information will help you move forward with your solution.

    Regards,
    Andrey Murzov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top