radioman / greatmaps

GMap.NET - Great Maps for Windows Forms & Presentation
912 stars 407 forks source link

WPF. Customizing route(get coordinates,arrow, superpose) #72

Closed ExplosiveGM closed 6 years ago

ExplosiveGM commented 6 years ago

Is there some way to find GmapMarker or Route position in pixels?

I use route for get track of auto. I want to use LinearGradient for visualizing speed. Track consist of many routes. Every route has two points. Point has speed. I write code to find speed interval and offsets for colors of gradient, but I can't initialize properties of LinearGradientBrush: StartPoint,EndPoint. So gradient don't know direction. I try use Map.FromLatLngToPixels() ineffectually.

Is there some way to customize route? For example, I need arrow, so i want customize end of route.

Lines of track can superpose each other. What are about drawing parallel route in some limits?

ExplosiveGM commented 6 years ago

Solved