mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 15:36:20 +00:00
Updated MapsforgeTiles
This commit is contained in:
parent
87271f9daf
commit
19ed50bc4a
5 changed files with 29 additions and 29 deletions
|
|
@ -18,9 +18,7 @@ namespace MapControl.MapsforgeTiles
|
|||
|
||||
if (pixels != null)
|
||||
{
|
||||
var size = displayModel.getTileSize();
|
||||
|
||||
bitmap = BitmapSource.Create(size, size, 96d, 96d, PixelFormats.Bgra32, null, pixels, size * 4);
|
||||
bitmap = BitmapSource.Create(TileSize, TileSize, 96d, 96d, PixelFormats.Bgra32, null, pixels, TileSize * 4);
|
||||
bitmap.Freeze();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue