A few days ago, I shared some of the API changes we made to our WinForms, WPF, and ASP.NET/MVC Charting library (v19.1). In this post, I’ll detail recent API enhancements to our WinForms and WPF Mapping library.
- Our Map Editor now includes a MapEditor.FinishItem method (also supported by MapControl for WPF). You can use it to complete the current edit operation within the MapEditor.MapItemEditing event (WinForms, WPF). For additional information, please refer to the following article: Handle the MapItemEditing and MapItemEdited events.
- All vector items inherited from the MapShape type can be exported to Well-Known Text (WKT) format using the ExportToWkt method (WinForms, WPF). Please refer to the following support tickets for usage scenarios: Edit SqlGeometryItem | Save SqlGeometry Data.
- MapShape element size can be obtained using the MapShape.GetBounds method (WinForms, WPF). Refer to the following support ticket for additional information: Map Item Bounds.
- The MapControl.CalcHitInfo method now supports Legend element detection (MapControl for WinForms). Refer to the following ticket for additional information: Clicked Legend.
- Our WinForms Map control now offers a MapControl.MouseWheelZoomingStep property – allowing you to customize the zoom step value. Refer to the following support ticket for a sample use case: Zoom Delta Value.