Page 1 of 1

MinLevel with ShapeLayer

Posted: Mon Oct 19, 2015 10:26 am
by infpro_mi
Hello,

I would like to set the MinLevel of a ShapeLayer, to hide symbols at a specific degree of detail.

But the ShapeLayer does not support the MinLevel property. (only the UntiledLayer seems to support MinLevel)

How can we set the MinLevel of a ShapeLayer?
Or should I use another layer type to show symbols. (truck, ball, ...)

By the way, is it possible to show custom symbols? (e.g., gas station)
Do you offer more predefined symbols than Ball, Crosshair, Cube...? (Ptv.XServer.Controls.Map.Symbols)
For example, gas station or POI.

Thanks!
Best regards
Martin

Re: MinLevel with ShapeLayer

Posted: Tue Oct 20, 2015 2:56 pm
by Oliver Heilig
Hello Martin,

you can add either custom bitmaps or custom vector elements to the shape layer. Take a look at SymbolsAndLabels or the Balloon.xaml in ToursAndStops here https://github.com/ptv-logistics/xservernet-bin

Here is a detailed explation for custom vector symbols http://devblog.ptvgroup.com/2013/08/08/ ... p-markers/

For the display range. You are right, there's currently no Min/Max visible for the shape layer. Will look if there's another simple way to restrict the display range for shapes.

Oliver