C# Class Mapsui.Layers.Layer

Inheritance: BaseLayer
Show file Open project: pauldendulk/Mapsui Class Usage Examples

Protected Properties

Property Type Description
Cache IEnumerable
IsFetching bool
NeedsUpdate bool
NewExtent BoundingBox
NewResolution double
StartFetchTimer Timer

Public Methods

Method Description
AbortFetch ( ) : void
ClearCache ( ) : void
GetFeaturesInView ( BoundingBox extent, double resolution ) : IEnumerable
IsCrsSupported ( string crs ) : bool?
Layer ( ) : System
Layer ( string layername ) : System
ViewChanged ( bool majorChange, BoundingBox extent, double resolution ) : void

Protected Methods

Method Description
DataArrived ( IEnumerable features, object state = null ) : void
StartNewFetch ( BoundingBox extent, double resolution ) : void

Private Methods

Method Description
StartFetchTimerElapsed ( object state ) : void
Transform ( BoundingBox extent ) : BoundingBox
Transform ( IEnumerable features ) : IEnumerable

Method Details

AbortFetch() public method

public AbortFetch ( ) : void
return void

ClearCache() public method

public ClearCache ( ) : void
return void

DataArrived() protected method

protected DataArrived ( IEnumerable features, object state = null ) : void
features IEnumerable
state object
return void

GetFeaturesInView() public method

public GetFeaturesInView ( BoundingBox extent, double resolution ) : IEnumerable
extent BoundingBox
resolution double
return IEnumerable

IsCrsSupported() public method

public IsCrsSupported ( string crs ) : bool?
crs string
return bool?

Layer() public method

public Layer ( ) : System
return System

Layer() public method

public Layer ( string layername ) : System
layername string
return System

StartNewFetch() protected method

protected StartNewFetch ( BoundingBox extent, double resolution ) : void
extent BoundingBox
resolution double
return void

ViewChanged() public method

public ViewChanged ( bool majorChange, BoundingBox extent, double resolution ) : void
majorChange bool
extent BoundingBox
resolution double
return void

Property Details

Cache protected property

protected IEnumerable Cache
return IEnumerable

IsFetching protected property

protected bool IsFetching
return bool

NeedsUpdate protected property

protected bool NeedsUpdate
return bool

NewExtent protected property

protected BoundingBox NewExtent
return BoundingBox

NewResolution protected property

protected double NewResolution
return double

StartFetchTimer protected property

protected Timer StartFetchTimer
return Timer