/// <summary> /// Initializes a new instance of the <see cref="SKGeoMap"/> class. /// </summary> /// <param name="mapView">The map view.</param> public SKGeoMap(IGeoMapView <SkiaSharpDrawingContext> mapView) : this() { MapProjection = mapView.MapProjection; HeatMap = mapView.HeatMap; ColorStops = mapView.ColorStops; Stroke = mapView.Stroke; Fill = mapView.Fill; Shapes = mapView.Shapes; }
/// <summary> /// Initializes a new instance of <see cref="MapContext{TDrawingContext}"/> class. /// </summary> public MapContext( GeoMap <TDrawingContext> core, IGeoMapView <TDrawingContext> view, CoreMap <TDrawingContext> map, MapProjector projector) { CoreMap = core; MapFile = map; Projector = projector; View = view; }
/// <summary> /// Initializes a new instance of the <see cref="MapShapeContext{TDrawingContext}"/> class. /// </summary> /// <param name="chart">The chart.</param> /// <param name="heatPaint">The heat paint.</param> /// <param name="heatStops">The heat stops.</param> /// <param name="boundsDictionary">The bounds.</param> public MapShapeContext( IGeoMapView <TDrawingContext> chart, IPaint <TDrawingContext> heatPaint, List <Tuple <double, LvcColor> > heatStops, Dictionary <int, Bounds> boundsDictionary) { Chart = chart; HeatPaint = heatPaint; HeatStops = heatStops; BoundsDictionary = boundsDictionary; }
/// <summary> /// Initializes a new instance of the <see cref="SKGeoMap"/> class. /// </summary> /// <param name="mapView">The map view.</param> public SKGeoMap(IGeoMapView <SkiaSharpDrawingContext> mapView) : this() { MapProjection = mapView.MapProjection; Stroke = mapView.Stroke; Fill = mapView.Fill; // obsoletes, moved to series property. HeatMap = mapView.HeatMap; ColorStops = mapView.ColorStops; Shapes = mapView.Shapes; }
/// <summary> /// Initializes a new instance of the <see cref="MapShapeContext{TDrawingContext}"/> class. /// </summary> /// <param name="chart">The chart.</param> /// <param name="heatPaint">The heat paint.</param> /// <param name="heatStops">The heat stops.</param> /// <param name="bounds">The bounds.</param> public MapShapeContext( IGeoMapView <TDrawingContext> chart, IPaint <TDrawingContext> heatPaint, List <Tuple <double, LvcColor> > heatStops, Bounds bounds) { Chart = chart; HeatPaint = heatPaint; HeatStops = heatStops; Bounds = bounds; }