I was trying to display the image of tile layer for OpenStreetMap using the Image control in the UWP platform, but the tile layer was displayed or displayed blank.
Steps to Reproduce
Create a new Xamarin.Forms application.
In the MainPage.xaml, add a simple image control.
In the MainPage.xaml.cs, initialize a new BitMapImage control and set the OSM tile layer's URI to its UriSource property. Then set the BitMapImage to the Image.Source.
Description
I was trying to display the image of tile layer for OpenStreetMap using the Image control in the UWP platform, but the tile layer was displayed or displayed blank.
Steps to Reproduce
Expected Behavior
The image of the OSM tile should be displayed.
Actual Behavior
The image of the OSM tile was not displayed.
Example Code Snippet
In MainPage.xaml
In MainPage.xaml.cs
Your can also find/download the example sample from the following github link.
Basic Information