LayerContainer class

A container which holds all paintings for one layer. A layer is defined by the datastore. It is a property of the ways/pois in the datastore. So in other words you can define which way should be drawn in the back and which should be drawn at the front.

Constructors

LayerContainer(int maxLevels)
Define the maximum number of levels.

Properties

clashingInfoCollection RenderInfoCollection
no setter
hashCode int
The hash code for this object.
no setterinherited
labels RenderInfoCollection
no setter
levels List<RenderInfoCollection>
Default renderinfos. Each rule gets a unique level in ascending order. We have to draw the renderinfos in that particular order.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(int level, RenderInfo<Renderinstruction> element) → void
adds a renderinfo to a level. This will be rendered into a tile in the order given by level.
addClash(RenderInfo<Renderinstruction> element) → void
Adds a potential clashing renderinfo. Clashes will be sorted out and the non-clashing elements will be rendered into the tile
addLabel(RenderInfo<Renderinstruction> element) → void
Adds a potential clashing renderinfo for label-rendering. Clashes will be sorted out and the non-clashing elements will be drawn into the ui if specified so that the labels can rotate with the map OR rendered into the tile.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited