Hi, I have made the changes and still getting the same issue. Please unblock accordingly.
[image: image.png] On Sat, Jun 1, 2019 at 12:16 AM Justmapzz Rodolfo <rodo...@justmapzz.com> wrote: > In order to prevent suspicious situations in the future, I compiled a > modified version of GMAP.NET, in which the controversial definition of > the user-agent is eliminated. All apps that use this version must define > the user-agent themselves now. > 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 > dev@openstreetmap.org > https://lists.openstreetmap.org/listinfo/dev >
_______________________________________________ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev