Skip to content

TileSourceDataChangedEventArgs

Namespace: ThinkGeo.Core

Says that the data behind a tile source changed, and over what ground, so a map drawing it forgets the tiles it has and asks again: the features behind a FeatureSourceVectorTileSource, or the pictures a RasterTileSource serves (RasterTileSource.Refresh(RectangleShape)).

public sealed class TileSourceDataChangedEventArgs : System.EventArgs

Inheritance object → EventArgs → TileSourceDataChangedEventArgs

Properties

Extent

Gets the ground the change covered, in the source's grid coordinates (web mercator metres for a web-mercator grid), or null when it could not be narrowed down - a deletion, for one, leaves only an id behind, so where the feature was is unknown. Null means every tile of the source is suspect.

public RectangleShape Extent { get; }

Property Value

RectangleShape

Constructors

TileSourceDataChangedEventArgs(RectangleShape)

Initializes the arguments.

public TileSourceDataChangedEventArgs(RectangleShape extent)

Parameters

extent RectangleShape
The ground the change covered, or null for all of it.