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

How can I setting display language in ToolTip?

3 Answers 84 Views
Map
This is a migrated thread and some comments may be shown as answers.
Kan
Top achievements
Rank 2
Kan asked on 07 Jan 2011, 04:40 AM
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?

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 12 Jan 2011, 09:41 AM
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>>
0
Kan
Top achievements
Rank 2
answered on 13 Jan 2011, 02:50 AM
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
0
Accepted
Andrey
Telerik team
answered on 18 Jan 2011, 09:00 AM
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>>
Tags
Map
Asked by
Kan
Top achievements
Rank 2
Answers by
Andrey
Telerik team
Kan
Top achievements
Rank 2
Share this question
or