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

Map Style

2 Answers 70 Views
Map
This is a migrated thread and some comments may be shown as answers.
Civelle
Top achievements
Rank 2
Civelle asked on 24 Aug 2010, 03:13 PM
Hi.

I would like to know if it is possible to get the current map style of a radmap, once a bing map has been displayed in a radmap control, using the SearchProvider and that the user has modified the style (road, arial, etc...), so we can save its preferences? I looked at all the properties of the control but could not find any that corresponds to this...

Civelle.

2 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 25 Aug 2010, 05:23 PM
Hi Civelle,

The SearchProvider is not responsible to show map tiles and does not have any settings to change map mode. I suppose you meant that map was shown using BingMapProvider. Then customer change map mode (aerial, road, show labels) using UI and you’d like to save these settings. If it is so, then you should read settings from map provider. For example:

BingMapProvider prov = this.radMap.Provider as BingMapProvider;
MapMode mode = prov.Mode;
bool showLabels = prov.IsLabelVisible;


Sincerely yours,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Civelle
Top achievements
Rank 2
answered on 31 Aug 2010, 04:56 PM
Thanks Andrey!
Tags
Map
Asked by
Civelle
Top achievements
Rank 2
Answers by
Andrey
Telerik team
Civelle
Top achievements
Rank 2
Share this question
or