Labels on Map with Colorizer

3 posts, 1 answers
  1. Dipti
    Dipti avatar
    37 posts
    Member since:
    Dec 2011

    Posted 28 Dec 2011 Link to this post

    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. Answer
    Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 29 Dec 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Dipti
    Dipti avatar
    37 posts
    Member since:
    Dec 2011

    Posted 29 Dec 2011 Link to this post

    Thanks Giuseppe for such a good sample of how to show names as captions.

    ~Dipti
Back to Top