Class MapRenderer
Assembly: Mapsui.Rendering.Skia.dll
Syntax
public class MapRenderer : IRenderer, IRenderInfo
Constructors
|
Edit this page
View Source
MapRenderer()
Declaration
Properties
|
Edit this page
View Source
RenderCache
Declaration
public IRenderCache RenderCache { get; }
Property Value
|
Edit this page
View Source
StyleRenderers
Dictionary holding all special renderers for styles
Declaration
public IDictionary<Type, IStyleRenderer> StyleRenderers { get; }
Property Value
|
Edit this page
View Source
Declaration
public IDictionary<Type, IWidgetRenderer> WidgetRenders { get; }
Property Value
Methods
|
Edit this page
View Source
GetMapInfo(double, double, Viewport, IEnumerable<ILayer>, int)
Declaration
public MapInfo? GetMapInfo(double x, double y, Viewport viewport, IEnumerable<ILayer> layers, int margin = 0)
Parameters
Returns
|
Edit this page
View Source
Declaration
public void Render(object target, Viewport viewport, IEnumerable<ILayer> layers, IEnumerable<IWidget> widgets, Color? background = null)
Parameters
|
Edit this page
View Source
Declaration
public MemoryStream RenderToBitmapStream(Viewport viewport, IEnumerable<ILayer> layers, Color? background = null, float pixelDensity = 1, IEnumerable<IWidget>? widgets = null, RenderFormat renderFormat = RenderFormat.Png)
Parameters
Returns
Implements