Table of Contents

Class WorldCopyMemoryLayer

Namespace
EncDotNet.S100.Renderers.Mapsui
Assembly
EncDotNet.S100.Renderers.Mapsui.dll

A Mapsui.Layers.MemoryLayer whose features also draw at the adjacent world copies (EncDotNet.S100.Renderers.Mapsui.WorldCopies), so overlays tied to chart data (pick highlights, extent outlines, the overscale curtain, validation findings) follow the chart wherever it is drawn (issue #773). A tile-rendered dataset layer whose features only carry pick identity uses it too, so a click on a copy of the chart hits its features. Hosts use it for their own overlays of chart data in EPSG:3857.

public sealed class WorldCopyMemoryLayer : MemoryLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable
Inheritance
BaseLayer
MemoryLayer
WorldCopyMemoryLayer
Implements
ILayer
IAnimatable
Inherited Members
MemoryLayer.FeaturesWereModified()
MemoryLayer.Features
MemoryLayer.SortFeatures
MemoryLayer.Extent
BaseLayer.NextId()
BaseLayer.DataHasChanged()
BaseLayer.ToString()
BaseLayer.Dispose()
BaseLayer.UpdateAnimations()
BaseLayer.Id
BaseLayer.Tag
BaseLayer.MinVisible
BaseLayer.MaxVisible
BaseLayer.Enabled
BaseLayer.Name
BaseLayer.Opacity
BaseLayer.Busy
BaseLayer.Style
BaseLayer.Attribution
BaseLayer.Resolutions
BaseLayer.CustomLayerRendererName
BaseLayer.PropertyChanged
BaseLayer.DataChanged

Remarks

Mapsui.Layers.ILayer.Extent stays the extent of the features themselves, so the copies never widen Mapsui.Map.Extent.

Methods

GetFeatures(MRect?, double)

Get all features in a given MRect for a given resolution

public override IEnumerable<IFeature> GetFeatures(MRect? rect, double resolution)

Parameters

rect MRect
resolution double

Resolution of viewport

Returns

IEnumerable<IFeature>