Hi @Richard6,
I created a winform sample to reproduce this issue, here’s the code:
mapView1.MapUnit = GeographyUnit.DecimalDegree;
InMemoryFeatureLayer layer = new InMemoryFeatureLayer();
layer.InternalFeatures.Add(new Feature(new LineShape(new Vertex[] { new Vertex(0, 0), new Vertex(0.5, 0.5) })));
layer.InternalFeatures.Add(new Feature(0, 0));
layer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = new LineStyle(new GeoPen(GeoColors.Blue, 8), new GeoPen(GeoColors.Green, 5), new GeoPen(GeoColors.Orange, 2));
layer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = new PointStyle(PointSymbolType.Circle, 18, GeoBrushes.Yellow, new GeoPen(GeoColors.Red, 4));
layer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
var layerOverlay = new LayerOverlay();
layerOverlay.Layers.Add(layer);
mapView1.Overlays.Add(layerOverlay);
mapView1.CurrentExtent = new RectangleShape(-179, 90, 179, -90);
mapView1.Refresh();
I tried the above in both v10 and v12(see screenshot below, the left one is winform v10, the right one is winform v12.), it has the same issue as you mentioned. I was wondering if my sample is the same as yours, do you have two separate layers? the one is for points, and the other one is for lines? Could you show me your code snippet? Or maybe you could modify my code.
Thanks,
Leo