snapToLayerEditInteractiveOverlay.ControlPointStyle = New PointStyle(PointSymbolType.Circle, New GeoSolidBrush(GeoColor.StandardColors.PaleGoldenrod), New GeoPen(GeoColor.StandardColors.Black), 8) 'Sets the PointStyle for the dragged control points. snapToLayerEditInteractiveOverlay.DraggedControlPointStyle = New PointStyle(PointSymbolType.Circle, New GeoSolidBrush(GeoColor.StandardColors.Red), New GeoPen(GeoColor.StandardColors.Orange, 2), 10) snapToLayerEditInteractiveOverlay.ToSnapInMemoryFeatureLayer = map.FindFeatureLayer(KeySelectedFeaturesLayer) 'Example using Screen (Pixel) coordinates for tolerance. snapToLayerEditInteractiveOverlay.ToleranceType = clsSnapToLayerEditInteractiveOverlay.ToleranceCoordinates.Screen snapToLayerEditInteractiveOverlay.Tolerance = 10 'Example using World coordinates for tolerance. 'snapToLayerEditInteractiveOverlay.ToleranceType = ToleranceCoordinates.World; 'snapToLayerEditInteractiveOverlay.Tolerance = 150; 'snapToLayerEditInteractiveOverlay.ToleranceUnit = DistanceUnit.Meter; 'snapToLayerEditInteractiveOverlay.CalculateAllControlPoints() map.EditOverlay = snapToLayerEditInteractiveOverlay