hot build mapprovider

Topics: General
Sep 26, 2011 at 2:55 AM

Hello!  Was trying to use the hotbuild that is available but I'm getting an error on setting the MapProvider.  Did something change?

Coordinator
Sep 26, 2011 at 6:37 AM

what error?

Sep 26, 2011 at 7:43 PM

 

Error 1 'MapType' is not a member of 'GMap.NET.WindowsForms.GMapControl'. 

 

Get the above error on all of the hotbuilds. Tried manually setting one in the designer code and get same error.

Sep 26, 2011 at 7:48 PM

Also

 

Error 1 'BingHybridMapProvider' is a type in 'MapProviders' and cannot be used as an expression.

Coordinator
Sep 26, 2011 at 8:25 PM

check the demo source, there is no MapType anymore:

MainMap.MapProvider = GMapProviders.OpenStreetMap; 

Sep 26, 2011 at 9:16 PM

I set it to

Me.GMapControl1.MapProvider = GMap.NET.MapProviders.BingHybridMapProvider
since I use vb.  It gives me the following error...
Error	1	'BingHybridMapProvider' is a type in 'MapProviders' and cannot be used as an expression.	C:\Users\Edward\Documents\Visual Studio 2010\Projects\gmaps_sample\BatchForm.Designer.vb	287	39	gmaps_sample
Coordinator
Sep 26, 2011 at 9:18 PM

MainMap.MapProvider = GMapProviders.OpenStreetMap;

Sep 27, 2011 at 1:03 AM

Thanks that worked.  Getting a SQLite error though now.