Custom symbols

Within this forum we want to offer discussions all around our .NET based Map control including all .Net-language specific questions concerning calls of the xServer-API. Attention: xServer-relevant concepts can be found in further forums such as xRoute or xTour.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Custom symbols

Post by Bernd Welter »

Hi Oli,

one of my partners is familiar with the standard symbols we provide with PTV xServer.NET and which belong to Ptv.XServer.Controls.Map.Symbols.

Is it possible to create custom symbols including flexible size and colors? What is needed for that?

Bernd
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... :twisted:
User avatar
Oliver Heilig
Posts: 154
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany
Contact:

Re: Custom symbols

Post by Oliver Heilig »

Hi Bernd,

yes you can design arbitrary elements in Xaml and bind properties like colors and texts to it. See this demo for an actual implementation.

Oli
Custom Xaml design
Custom Xaml design
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Custom symbols

Post by Bernd Welter »

Just found further URLs in an old chat - maybe these documents could also help?

The following approach is base on "SVG icons that are converted to XAML": And it is also possible to display images instead (though this is less beautiful)
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... :twisted:
Post Reply