Class TileSeederOptions
Defines options for controlling the tile seeding process
Inheritance
System.Object
TileSeederOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.MaestroAPI.Tile
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class TileSeederOptions
Properties
| Improve this Doc View SourceErrorLogger
An error handler that is invoked if an exception is thrown fetching the given TileRef
Declaration
public Action<TileRef, Exception> ErrorLogger { get; set; }
Property Value
Type | Description |
---|---|
System.Action<TileRef, System.Exception> |
Executor
A custom tile fetcher that is invoked when a tile is about to be fetch for the given TileRef
Declaration
public Action<Action<TileRef>, TileRef> Executor { get; set; }
Property Value
Type | Description |
---|---|
System.Action<System.Action<TileRef>, TileRef> |
MaxDegreeOfParallelism
The maximum degree of parallelism
Declaration
public int? MaxDegreeOfParallelism { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
SaveTile
An optional action to save the specified tile image stream. By default (if this action isn't specified) the request for the given tile is discarded as the seeder's purpose is to ensure the tile is generated and cached on the server side.
Declaration
public Action<TileRef, Stream> SaveTile { get; set; }
Property Value
Type | Description |
---|---|
System.Action<TileRef, System.IO.Stream> |