This project has moved and is read-only. For the latest updates, please go here.

Line segments overshooting location

Jan 31, 2017 at 9:33 AM
Edited Jan 31, 2017 at 10:21 AM
Hi! Great work on the control!

I am having some problem with MapPolyline lines overshooting the intended start/end coordinate. This seems to happen when a line-segment goes back to the position the last segment originated from.
Here is an example with a MapPolyline with the path: A-B-C-B-A-B
As can be seen, the lines at A and C are does not end at the same position as the pushpins are located at, something that does not seem to happen at other locations.

Also at lower zoom-level, the difference in position between the line-ends and the pushpins is visible.

What could be the cause of this behavior?
Jan 31, 2017 at 12:15 PM
You may set the MapPolyline's StrokeLineJoin or StrokeMiterLimit property.
Marked as answer by ClemensF on 2/20/2017 at 12:49 PM
Jan 31, 2017 at 2:05 PM
Works great. Thanks!