public void RenderPointOfInterestCircle(RenderContext renderContext, float radius, IPaint fill, IPaint stroke, int level, PointOfInterest poi) { Point poiPosition = MercatorProjection.GetPixelRelativeToTile(poi.Position, renderContext.rendererJob.tile); renderContext.AddToCurrentDrawingLayer(level, new ShapePaintContainer(new CircleContainer(poiPosition, radius), stroke)); renderContext.AddToCurrentDrawingLayer(level, new ShapePaintContainer(new CircleContainer(poiPosition, radius), fill)); }
public void RenderWay(RenderContext renderContext, IPaint stroke, float dy, int level, PolylineContainer way) { renderContext.AddToCurrentDrawingLayer(level, new ShapePaintContainer(way, stroke, dy)); }
public void RenderArea(RenderContext renderContext, IPaint fill, IPaint stroke, int level, PolylineContainer way) { renderContext.AddToCurrentDrawingLayer(level, new ShapePaintContainer(way, stroke)); renderContext.AddToCurrentDrawingLayer(level, new ShapePaintContainer(way, fill)); }