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
MinLevel with ShapeLayer
- Oliver Heilig
- Posts: 160
- Joined: Tue May 13, 2014 12:10 pm
- Location: Karlsruhe, Germany
- Contact:
Re: MinLevel with ShapeLayer
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
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