Difference in Polyline Rendering on Mapsui and KML Viewer
See original GitHub issueHi, I have noticed a difference in the rendering of a polyline on Mapsui and on a KML viewer(using the polylines returned from the Mapsui library). The angles don’t align properly. The polylines rendered on the KML view is correct since I corroborated it with other KML viewers. I used version 2.0.3 of Mapsui.Forms
KML viewer used - http://kmlviewer.nsspot.net/
Snapshot taken from Mapsui -

Snapshot taken from the KML Viewer -

This is the contents of the kml file -
<?xml version="1.0" encoding="utf-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Folder> <Placemark> <name>Start Point</name> <Point> <coordinates>-73.613861083984375,45.540431976318359</coordinates> </Point> </Placemark> <Placemark> <name>Final Path</name> <description>Final Path</description> <LineString> <extrude>true</extrude> <tessellate>true</tessellate> <altitudeMode>absolute</altitudeMode> <coordinates>-73.613861083984375,45.540431976318352,0 -73.613826212056935,45.540420586979728,0 -73.613799110292646,45.540461294483322,0 -73.613775862327316,45.540453701592085,0 -73.613786703028424,45.54043741858883,0 -73.613763455072956,45.540429825697579,0 -73.613752614370156,45.540446108699811,0</coordinates> </LineString> </Placemark> </Folder> </kml>
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)

Top Related StackOverflow Question
Note: You don’t necessarily have to wait for a release. The fix has been merged to master and we have CI builds that generate nupkgs for every revision. You could just use the nuget packages of the current master branch (via a local packages source in VS): https://ci.appveyor.com/project/pauldendulk/mapsui/builds/40834197/artifacts
HTH.
We tested the rc.3 version and the lines are rendering as expected. Thanks a lot Paul for this hotfix!!!