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