mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Added MapTileLayerBase.LoadTiles method
This commit is contained in:
parent
f38ac5bec3
commit
ab69894f13
5 changed files with 22 additions and 14 deletions
|
|
@ -19,7 +19,7 @@ namespace MapControl
|
|||
{
|
||||
public interface ITileImageLoader
|
||||
{
|
||||
void LoadTiles(IEnumerable<Tile> tiles, TileSource tileSource, string sourceName);
|
||||
void LoadTiles(IEnumerable<Tile> tiles, TileSource tileSource, string cacheName);
|
||||
}
|
||||
|
||||
public abstract class MapTileLayerBase : Panel, IMapLayer
|
||||
|
|
@ -189,5 +189,10 @@ namespace MapControl
|
|||
protected abstract void UpdateTileLayer(bool tileSourceChanged);
|
||||
|
||||
protected abstract void SetRenderTransform();
|
||||
|
||||
protected virtual void LoadTiles(IEnumerable<Tile> tiles, string cacheName)
|
||||
{
|
||||
TileImageLoader.LoadTiles(tiles, TileSource, cacheName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue