z-index of elements #969
-
A quick question, just to be on the safe side: z-index of map elements (markers, paths, ...) is not determined by a specific parameter to the element, but by layer order, with elements on a layer with higher index being more visible? So for example the base tile layer should get a very small index (0 or 1?), the layer for general markers a bit higher (10), and the most important data an even higher index (eg. 20)? Layers can be added in random order, even when given a specific index number, and index numbers may have gaps? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
VTM layers (map, overlays, etc.) work like in Mapsforge, there is list of layers, i.e. z-order. However, markers in VTM:
|
Beta Was this translation helpful? Give feedback.
-
For new unrelated questions please create a new discussion. GPX tracks with multiple track segments: need a path layer per track segment (Mapsforge + VTM). |
Beta Was this translation helpful? Give feedback.
VTM layers (map, overlays, etc.) work like in Mapsforge, there is list of layers, i.e. z-order.
However, markers in VTM:
ItemizedLayer
classes(it can be disabled with
Parameters.MARKER_SORT
and manage the markers list manually)