The lines concerned in GMapProvider.cs now look like this:
//public static string UserAgent = string.Format("Mozilla/5.0 (Windows NT {1}.0; {2}rv:{0}.0) Gecko/20100101 Firefox/{0}.0",
// Stuff.random.Next(DateTime.Today.Year - 1969 - 5, DateTime.Today.Year - 1969),
// Stuff.random.Next(0, 10) % 2 == 0 ? 10 : 6,
// Stuff.random.Next(0, 10) % 2 == 1 ? string.Empty : "WOW64; ");
// UserAgent must be defined by your app e.g.: GMap.NET.MapProviders.GMapProvider.UserAgent = "YourOwnUserAgentDefinition";
public static string UserAgent = "";
If someone wants to use these modified GMap.NET.Core.dll and GMap.NET.WindowsForms.dll, please let me know.
All the 20 map providers of Justmapzz work with the new dll's, (except OSM), but I hope this exception will be eliminated soon.
Rodolfo
_______________________________________________ dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/dev

