How to define map=none?

Topics: General
Jan 24, 2012 at 10:58 AM


I am having some problems in configuring map to none. 

For instance, to configure map for OpenStreetMaps we do:

MainMap.MapProvider = GMapProviders.OpenStreetMap;

and so on...

How to configure for none? I tried  null but an exception is thrown...

Reading GMapProviders.cs i can not see any definition for none.

Thank you


Jan 24, 2012 at 12:19 PM

MainMap.MapProvider = GMapProviders.EmptyProvider;