User Tools

Site Tools


map_suite_desktop_for_wpf_interactiveoverlays_samples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

map_suite_desktop_for_wpf_interactiveoverlays_samples [2020/03/08 06:39]
map_suite_desktop_for_wpf_interactiveoverlays_samples [2020/03/08 06:39] (current)
Line 1: Line 1:
 +====== Wpf Samples ======
 +
 +==== Select And Drag Feature Sample for Wpf ====
 +
 +
 +In this Wpf project, we show how to select a feature from a shapefile based on a column value using the GetFeaturesByColumnValue. We also show to setup the EditOverlay to give the user the ability to drag the selected feature. In this project, you can also see how to get the world coordinates at the mouse move event. Notice that the code for doing this is quite different in Wpf compared to the winforms edition.
 +              ​
 +Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details.
 +
 +{{https://​github.com/​ThinkGeo/​SelectAndDragFeatureSample-ForWpf/​raw/​master/​ScreenShot.png?​500|Screenshot}}
 +
 +
 +[[https://​github.com/​ThinkGeo/​SelectAndDragFeatureSample-ForWpf| View this sample on Github]]
 +
 +==== Tracked Shapes To File Sample for Wpf ====
 +
 +
 +In this Wpf sample, we show how to persist the tracked shapes by saving the WKT (Well Known Text) to a file using the TrackEnded event. Also, you can see how to retrieve the WKT from files to create the features for the TrackShapeLayer of the TrackOverlay when loading the map. You will need the MapSuiteCore.dll and WpfDesktopEdition.dll references for this sample.
 +              ​
 +Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details.
 +
 +{{https://​github.com/​ThinkGeo/​TrackedShapesToFileSample-ForWpf/​raw/​master/​Screenshot.gif?​500|Screenshot}}
 +
 +
 +[[https://​github.com/​ThinkGeo/​TrackedShapesToFileSample-ForWpf| View this sample on Github]]
 +
 +==== Snap To Layer Sample for Wpf ====
 +
 +The purpose of this Wpf project is to address some limitations of the class SnapToLayerEditInteractiveOverlay found in a previous sample Snap To Layer.  ​
 +
 +This class allowed the snapping of the mouse pointer to the closest vertex of a polygon if it is within a set tolerance. While this worked great for simple polygons, there was a performance limitation with complex polygons made of many vertices. This Wpf sample addresses this limitation and allows responsive dragging and snapping of vertex regardless of the size of polygon to snap to.
 +
 +Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details.
 +
 +{{https://​github.com/​ThinkGeo/​SnapToLayerSample-ForWpf/​raw/​master/​ScreenShot.png?​500|Screenshot}}
 +
 +
 +[[https://​github.com/​ThinkGeo/​SnapToLayerSample-ForWpf| View this sample on Github]]
 +
 +==== Connecting Two Shapes With Arraw Line Sample for Wpf ====
 +
 +
 +In this sample, two polygons are connected by a arrowline, and if the polygons are moved the connecting arrowline will be moved automatically as well.
 +
 +Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details.
 +
 +{{https://​github.com/​ThinkGeo/​ConnectingTwoShapesWithArrawLineSample-ForWpf/​raw/​master/​Screenshot.gif?​500|Screenshot}}
 +
 +
 +[[https://​github.com/​ThinkGeo/​ConnectingTwoShapesWithArrawLineSample-ForWpf| View this sample on Github]]
 +
  
map_suite_desktop_for_wpf_interactiveoverlays_samples.txt ยท Last modified: 2020/03/08 06:39 (external edit)