This question is locked. New answers and comments are not allowed.
Tamir Kaneh
Top achievements
Rank 1
Tamir Kaneh
asked on 15 Nov 2010, 09:23 AM
hello.
i am using RadMap for silverlight 4, and using this provider .
By default each country information(labels) is in English , Russian, Hebrew, Arabic.
How can i change the setting for showing me only info with english labels ?
like in this example :http://osm.ev-en.org/
in the right side of the screen there is a (+) mark ... and there you can change the map language.
i tried to use the property , but it didn't get any effect.
i am using RadMap for silverlight 4, and using this provider .
By default each country information(labels) is in English , Russian, Hebrew, Arabic.
How can i change the setting for showing me only info with english labels ?
like in this example :http://osm.ev-en.org/
in the right side of the screen there is a (+) mark ... and there you can change the map language.
i tried to use the property , but it didn't get any effect.
RadMap.Language = 'en-us'
do i need to write my own provider ?
I discovered that the tiles url built with language code
http://a.tiles.osm.ev-en.org/"+code+"osm/${z}/${x}/${y}.png
6 Answers, 1 is accepted
0
Accepted
Hi Tamir Kaneh,
Unfortunately the original OSM service at openstreetmap.org which is used in our OpenStreetProvider does not provide this feature. The service you are referencing to is created by one of the OSM enthusiast and is not an official OSM map source. You can use it through your own custom map provider.
Sincerely yours,
Andrey Murzov
the Telerik team
Unfortunately the original OSM service at openstreetmap.org which is used in our OpenStreetProvider does not provide this feature. The service you are referencing to is created by one of the OSM enthusiast and is not an official OSM map source. You can use it through your own custom map provider.
Sincerely yours,
Andrey Murzov
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
0
Tamir Kaneh
Top achievements
Rank 1
answered on 18 Nov 2010, 09:51 AM
thanks for your replay.
Do you have any taturial that explains how to do it ?
what is the variants i need to supplay to the custom provider ?
Do you have any taturial that explains how to do it ?
what is the variants i need to supplay to the custom provider ?
0
Accepted
Hi Tamir Kaneh,
I have attached a sample solution with custom Open Street map provider.
I hope it helps.
Best wishes,
Andrey Murzov
the Telerik team
I have attached a sample solution with custom Open Street map provider.
I hope it helps.
Best wishes,
Andrey Murzov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Tamir Kaneh
Top achievements
Rank 1
answered on 20 Nov 2010, 06:43 PM
Thanks, It is working great.
0
Nikolai
Top achievements
Rank 1
answered on 06 Jun 2012, 07:01 AM
Hello,
Is it possible to set preffered Culture \ Languange for OSM and Bing provider using the latest version of RamMap?
If it is true, show please c# code how to do it or documentation reference, please.
Is it possible to set preffered Culture \ Languange for OSM and Bing provider using the latest version of RamMap?
If it is true, show please c# code how to do it or documentation reference, please.
0
Hello Nikolai,
Currently the Bing Maps provider uses a culture info from the Language property of RadMap. By default it is "en-US". You can specify the Language property value in XAML code or from the code behind for example to "de-DE" to get a map in German.
The sample code is below.
You can look at the languages which are supported by Bing Maps Imagery Service using the following link:
http://msdn.microsoft.com/en-us/library/cc981048.aspx
Unfortunately the OSM does not support this feature.
All the best,
Andrey Murzov
the Telerik team
Currently the Bing Maps provider uses a culture info from the Language property of RadMap. By default it is "en-US". You can specify the Language property value in XAML code or from the code behind for example to "de-DE" to get a map in German.
The sample code is below.
<
UserControl
x:Class
=
"MapLocalization.MainPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadMap
x:Name
=
"radMap"
Language
=
"de-DE"
>
<
telerik:RadMap.Provider
>
<
telerik:BingMapProvider
ApplicationId
=
"xxxx-yyyy-zzzz"
/>
</
telerik:RadMap.Provider
>
</
telerik:RadMap
>
</
Grid
>
</
UserControl
>
You can look at the languages which are supported by Bing Maps Imagery Service using the following link:
http://msdn.microsoft.com/en-us/library/cc981048.aspx
Unfortunately the OSM does not support this feature.
All the best,
Andrey Murzov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>