Map Style

3 posts, 0 answers
  1. Civelle
    Civelle avatar
    29 posts
    Member since:
    Dec 2009

    Posted 24 Aug 2010 Link to this post


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

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 25 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. Civelle
    Civelle avatar
    29 posts
    Member since:
    Dec 2009

    Posted 31 Aug 2010 Link to this post

    Thanks Andrey!
Back to Top