mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 22:18:56 +00:00
Add measurement line to sample apps
This commit is contained in:
parent
365fdb75dc
commit
e1c6bfdf9c
6 changed files with 242 additions and 72 deletions
|
|
@ -117,9 +117,15 @@
|
|||
Center="53.5,8.2" ManipulationMode="All"
|
||||
MouseLeftButtonDown="MapMouseLeftButtonDown"
|
||||
MouseRightButtonDown="MapMouseRightButtonDown"
|
||||
MouseMove="MapMouseMove" MouseLeave="MapMouseLeave"
|
||||
MouseRightButtonUp="MapMouseRightButtonUp"
|
||||
MouseMove="MapMouseMove"
|
||||
MouseLeave="MapMouseLeave"
|
||||
ManipulationInertiaStarting="MapManipulationInertiaStarting">
|
||||
|
||||
<map:MapPolyline x:Name="measurementLine" Visibility="Collapsed"
|
||||
Stroke="{Binding Foreground, ElementName=map}"
|
||||
StrokeThickness="2" StrokeDashArray="1,1"/>
|
||||
|
||||
<map:MapItemsControl ItemsSource="{Binding Polylines}"/>
|
||||
|
||||
<map:MapItemsControl ItemsSource="{Binding Points}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue