/// <summary> /// Caches tiles of the specified provider to SQLite database for further offline use. /// </summary> /// <param name="minX">Minimum X index of tile to be cached (in coordinates of tile zoom level).</param> /// <param name="maxX">Maximum X index of tile to be cached (in coordinates of tile zoom level).</param> /// <param name="minY">Minimum Y index of tile to be cached (in coordinates of tile zoom level).</param> /// <param name="maxY">Maximum Y index of tile to be cached (in coordinates of tile zoom level).</param> /// <param name="zoom">Zoom level to be cached.</param> /// <param name="ProviderId">Id of the provider.</param> /// <param name="stop">StopExecution interface implementation to stop the operation prematurely.</param> /// <returns>Number of tiles scheduled for caching.</returns> /// <remarks>The operation is executed asynchronously. See details in Tiles.Prefetch.</remarks> public int Prefetch2(int minX, int maxX, int minY, int maxY, int zoom, int ProviderId, IStopExecution stop) { throw new NotImplementedException(); }
/// <summary> /// Caches tiles to the specified file system folder for further offline use. /// </summary> /// <param name="ext">Extents to cache within in decimal degrees.</param> /// <param name="zoom">Zoom level.</param> /// <param name="ProviderId">Id of the provider.</param> /// <param name="savePath">Directory to save files into. Nested folders for zoom levels, /// X/Y coordinates will be created automatically.</param> /// <param name="fileExt">File extension to store tiles with.</param> /// <param name="stop">StopExecution interface implementation to stop the operation prematurely.</param> /// <returns>Number of tiles scheduled for caching.</returns> /// <remarks>Often tiles are saved with fictitious extension, like png.tile, /// to avoid their listing in the gallery of smartphones for example. Tile consuming application often may be configured /// to handle such extensions.</remarks> /// <remarks>The operation is executed asynchronously. See details in Tiles.Prefetch.</remarks> public int PrefetchToFolder(Extents ext, int zoom, int ProviderId, string savePath, string fileExt, IStopExecution stop) { throw new NotImplementedException(); }
/// <summary> /// Caches tiles of the specified provider within specified geographic bounds /// to SQLite database for further offline use. /// </summary> /// <param name="minLat">Minimal latitude to cache within.</param> /// <param name="maxLat">Maximum latitude to cache within.</param> /// <param name="minLng">Minimal longitude to cache within.</param> /// <param name="maxLng">Maximum longitude to cache within.</param> /// <param name="zoom">Zoom level.</param> /// <param name="ProviderId">Id of the provider.</param> /// <param name="stop">StopExecution interface implementation to stop the operation prematurely.</param> /// <returns>The number of tiles scheduled for caching.</returns> /// <remarks>The operation is executed asynchronously. To get the progress information use Tiles.GlobalCallback property. /// The callback will returned the number of tiles already downloaded. When operation is completed, -1 will be returned.</remarks> public int Prefetch(double minLat, double maxLat, double minLng, double maxLng, int zoom, int ProviderId, IStopExecution stop) { throw new NotImplementedException(); }