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

Labels on Map with Colorizer

2 Answers 28 Views
Map
This is a migrated thread and some comments may be shown as answers.
Dipti
Top achievements
Rank 1
Dipti asked on 28 Dec 2011, 12:35 PM
Hi,

I am using RadMap to show sales summary of various countries. I want to show all countries in different colors and also show the name of the countries.
All the samples that I have seen of color-coded RadMap (using Colorizer), don't have country/state name. It is shown as a tooltip.

Is it not possible to show country name on a color-coded map?
If it possible, please redirect to some sample with this functionality.

Thanks
~Dipti

2 Answers, 1 is accepted

Sort by
0
Accepted
Giuseppe
Telerik team
answered on 29 Dec 2011, 01:34 PM
Hello Dipti,

We have attached a sample application that demonstrates how you can achieve the desired functionality:
  • Use MapShape.CaptionTemplate / CaptionLocation to specify the country name.
  • Use GraphColorizer to color-code the various countries.

Hope this helps.


Kind regards,
Giuseppe
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Dipti
Top achievements
Rank 1
answered on 29 Dec 2011, 01:51 PM
Thanks Giuseppe for such a good sample of how to show names as captions.

~Dipti
Tags
Map
Asked by
Dipti
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Dipti
Top achievements
Rank 1
Share this question
or