public AsyncTileRequest(Uri uri, TileInfo tileInfo, AsyncTileRequestCompletedHandler callback) { this.uri = uri; this.callback = callback; }
public TileInfoEventArgs(TileInfo tileInfo) { this.tileInfo = tileInfo; }
private string GetDirectoryName(TileInfo tileInfo) { string level = tileInfo.ZoomLevel.Id.ToString(CultureInfo.InvariantCulture); return(Path.Combine(directory, level, tileInfo.Column.ToString(CultureInfo.InvariantCulture))); }
public string GetCachedTileFilePathName(TileInfo tileInfo) { return(Path.Combine(GetDirectoryName(tileInfo), string.Format(CultureInfo.InvariantCulture, "{0}.{1}", tileInfo.Row, format.ToString()))); }
protected abstract Uri GetUriCore(TileInfo tileInfo);
public Uri GetTileUri(TileInfo tileInfo) { return(GetUriCore(tileInfo)); }