ClemensFischer / XAML-Map-Control

XAML Map Control Library
Microsoft Public License
203 stars 59 forks source link

OpenStreetMap tile provider doesn't work on my implementation #113

Closed o4oren closed 1 year ago

o4oren commented 1 year ago

Hi, I am not sure if you'd be able to help, but the regular https://tile.openstreetmap.org/{z}/{x}/{y}.png tile service doesn't work in my app - I only get a white screen. OSM FR and Gr work, also other variations I found on the OSM wiki. In addition, the default one works with your sample wpf app, and I see that the tile service is up and responding. What am I missing? My resource file with map providers is more or less copied from your sample app. https://github.com/o4oren/FSTRaK/blob/0.9.9/FSTRaK/Resources/MapProvidersDictionary.xaml

An example map view is here: https://github.com/o4oren/FSTRaK/blob/0.9.9/FSTRaK/Views/LiveView.xaml

o4oren commented 1 year ago

I missed the user-agent. Reading the OSM usage policy I figured that out, then I saw you set it in the sample app.