I have a function that pulls some lat/longs from a Database and then I put those values in a polygon to see it's shape. The problem is they are so random in position and direction from each other that I get a ton of triangle shapes due to the overlapping. Is there a way to order the positions so I get a solid polygon without the overlapping holes? Tried:
Dim orderedPoints = points.OrderBy(Function(ll) ll.Lng).ThenBy(Function(ll) ll.Lat).ToListI feel it needs to be drawn in a circular pattern, finding the farthest as it moves around in a given direction. Hoping to not have to reinvent the wheel if poss here. Thanks for any help.
أكثر...
Dim orderedPoints = points.OrderBy(Function(ll) ll.Lng).ThenBy(Function(ll) ll.Lat).ToListI feel it needs to be drawn in a circular pattern, finding the farthest as it moves around in a given direction. Hoping to not have to reinvent the wheel if poss here. Thanks for any help.
أكثر...