Hello Oliver,
On the EV route planner showcase I've seen some gradient polyline:
Can I apply such a style to a Ptv.XServer.Controls.Map.Layers.Shapes.MapPolyline?
How?
Bernd
Polyline with gradient line
- Bernd Welter
- Site Admin
- Posts: 2703
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Polyline with gradient line
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Oliver Heilig
- Posts: 160
- Joined: Tue May 13, 2014 12:10 pm
- Location: Karlsruhe, Germany
- Contact:
Re: Polyline with gradient line
Hi Bernd,
i don't know this app in detail, but i would guess it uses MapLibre gadient lines. You can do fancy stuff with MapLibre
For WPF i found an old article from Charles Petzold, which in theory could be applied to the map control. There's another sample for custom poly lines with arrows along the line. I guess it could be adopted for gradients in a similar fashion. But this would require some deeper knowledge of the Control/WPF.
i don't know this app in detail, but i would guess it uses MapLibre gadient lines. You can do fancy stuff with MapLibre
For WPF i found an old article from Charles Petzold, which in theory could be applied to the map control. There's another sample for custom poly lines with arrows along the line. I guess it could be adopted for gradients in a similar fashion. But this would require some deeper knowledge of the Control/WPF.
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/