judero01col / GMap.NET

GMap.NET Windows Forms & Presentation is an excellent open source, powerful, free and cross-platform .NET control. Allows the use of routing, geocoding, directions and maps from Google, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, SigPac, Yendux, Mapy.cz, Maps.lt, iKarte.lv, NearMap, HereMap, CloudMade, WikiMapia, MapQuest and many more.
Other
466 stars 205 forks source link

Problem with OpenStreetMap #188

Open Jarsonxv opened 1 year ago

Jarsonxv commented 1 year ago

Good day,

For several years, I have been using the Gmap.Net control (ver. 2.1.7) to mark vehicle positions on a map. I have been using OpenStreetMaps (map.MapProvider = GMapProviders.OpenStreetMap;). However, I have noticed a problem with loading the map in recent days. When I set (GMap.NET.GMaps.Instance.Mode = AccessMode.ServerOnly;), the map does not load. The control works correctly because when I set it to (map.MapProvider = GMapProviders.BingMap), the map loads without any issues. The problem occurs on all computers I have access to.

I kindly request your assistance.

Best regards, Jarosław Staś

jeremyzc commented 1 year ago

I've noticed the same issue. OSM has been working ok for me for a number of years until recently. It looks like the generic HTTP User-Agent is no longer valid for OSM. The timeout hides the 403 response. OSM do insist that this is unique per application: https://operations.osmfoundation.org/policies/tiles/