Пример #1
0
        Carto.Graphics.Bitmap CreateBitmap(HTTPTileDataSource source, MapTile tile)
        {
            var data = source.LoadTile(tile);

            if (data == null)
            {
                return(null);
            }
            return(Carto.Graphics.Bitmap.CreateFromCompressed(data.Data));
        }
 Carto.Graphics.Bitmap CreateBitmap(HTTPTileDataSource source, MapTile tile)
 {
     return(Carto.Graphics.Bitmap.CreateFromCompressed(source.LoadTile(tile).Data));
 }