Not getting MapType Property.

Topics: General
Dec 5, 2011 at 9:02 AM

//MyMap.MapType = MapType.GoogleMaps;

MyMap.MaxZoom = 17;
MyMap.MinZoom = 2;
MyMap.Zoom = 12;
MyMap.Manager.Mode = AccessMode.ServerAndCache;
MyMap.Position = new PointLatLng(54.6961334816182, 25.2985095977783);

I have included  GMap.NET; file . I have drag the component on my form , I got all the properties as above But I do not get "MapType" ..Even I do not get Class Maptype for "GoogleMaps" . When I comment the first line and run project I am getting a blank Map.

Dec 5, 2011 at 9:21 AM

MainMap.MapProvider = GMapProviders.OpenStreetMap;
MainMap.Position = new PointLatLng(54.6961334816182, 25.2985095977783);
MainMap.MinZoom = 1;
MainMap.MaxZoom = 17;
MainMap.Zoom = 9;

p.s. i recommend to check the source of the demos, functionality is changing from time to time, so there is no static documentation

Dec 6, 2011 at 9:26 AM

Yes, I got it.. thnx ..Its running Nice :)