Localization
The built-in localization mechanism in Silverlight and WPF allows you to localize any string resource used by the standard RadMap control. Once translated you might use your resources in both Silverlight and WPF projects without changing anything.
To learn more about the ways in which to localize the RadControls please read the common topic about Localization.
Resource Keys
RadMap is a user interface control and its strings for localization are numerous. In order to be able to distinguish these resources, an unique identifier, called resource key, is assigned to each localizable string.
Here is a list of all of the Resources available and their default values:
Key | Value |
---|---|
MapAerialCommand | Aerial View |
MapAerialOnDemandCommand | Aerial On Demand View |
MapLabelsVisibleCommand | Show Labels |
MapRoadCommand | Road View |
MapRoadOnDemandCommand | Road On Demand View |
MapBirdseyeCommand | Bird's Eye View |
MapCanvasLightCommand | Canvas Light |
MapCanvasGrayCommand | Canvas Gray |
MapCanvasDarkCommand | Canvas Dark |
MapMapScaleKilometerFormat | {0} km |
MapMapScaleMileFormat | {0} ml |
MapPresetZoomLevelWorld | World |
MapPresetZoomLevelState | State |
MapPresetZoomLevelRegion | Region |
MapPresetZoomLevelCity | City |
MapPresetZoomLevelNeighborhood | Neighborhood |
MapNorthChar | N |
MapSouthChar | S |
MapWestChar | W |
MapEastChar | E |
MapMapScaleMeterFormat | {0} m |
MapOsmStandardCommand | Standard |
MapOsmCycleCommand | Cycle Map |
MapOsmTransportCommand | Transport Map |
MapOsmHumanitarianCommand | Humanitarian |
MapPhysicalCommand | Physical View |
MapShadedReliefCommand | Shaded Relief View |
MapTerrainBaseCommand | Terrain Base View |
MapTopographicCommand | Topographic View |
MapOsmMapQuestOpenCommand | MapQuest Open |