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

Hide overlaped text on labels

1 Answer 46 Views
Map
This is a migrated thread and some comments may be shown as answers.
Waqas
Top achievements
Rank 1
Waqas asked on 21 Jan 2014, 02:22 PM
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

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 22 Jan 2014, 09:38 AM
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 >>
Tags
Map
Asked by
Waqas
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or