How can I setting display language in ToolTip?

4 posts, 1 answers
  1. Kan
    Kan avatar
    2 posts
    Member since:
    Jul 2012

    Posted 06 Jan 2011 Link to this post

    Hi,
     I want to modify 'ToolTipFormat = "CNTRY_NAME"' to provide default display language, for example as below:


    sample: 
    default display : Korea
    i wnat to display : Korea's words


    how can I do for this?

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 12 Jan 2011 Link to this post

    Hello Derek,

    The ToolTipFormat property of MapShapeReader does not support localization. It specifies the name of the extended property of the shapes that will be used for tooltip.
    In fact the "CNTRY_NAME" is a field name of the dbf file that contains a data for the shape file. So, you can modify this dbf file to change the "CNTRY_NAME" field data to localized country names.

    All the best,
    Andrey Murzov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Kan
    Kan avatar
    2 posts
    Member since:
    Jul 2012

    Posted 12 Jan 2011 Link to this post

    Thanks for your help Andrey ,
    and one more question :

    i want to get some information when MouseMove event (like county_name...etc),
    how can i do for this ?
    thanks your help
  5. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 18 Jan 2011 Link to this post

    Hello Derek,

    You can use the MouseMove event of the RadMap. Also you can use the InformationLayer.GetItemsInLocation method to get current country shape. When the country shape is determined then you can use its ExtendedData property to get necessary data.
    I have attached the sample solution.
    I hope it helps.

    Best wishes,
    Andrey Murzov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top