RenderinstructionNode class abstract

A RenderInstruction is a basic graphical primitive to draw a map. It reads the instructions from an xml file. It can be seen like a CSS-file for html.

Implemented types
Implementers

Constructors

RenderinstructionNode()

Properties

display MapDisplay
Display mode controlling when this instruction should be rendered.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
level int
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serial int
finalinherited

Methods

forZoomlevel(int zoomlevel, int level) RenderinstructionNode
Creates a copy of itself with the data needed for the given zoomlevel. Note that this should only be called from Rendertheme and NOT from RenderthemeZoomlevel
getBoundary(RenderInfo<Renderinstruction> renderInfo) → MapRectangle
Returns the boundary of this object around the center of the area or the poi. If the boundary cannot determined exactly we need to estimate it. This method is used only if the renderinstruction adds itself to label or clash (see LayerContainer)
inherited
getType() String
Returns the type identifier for this rendering instruction.
inherited
matchNode(LayerContainer layerContainer, NodeProperties nodeProperties) → void
Checks the nodeProperties and adds itself to the layerContainer if there is something to draw.
inherited
matchWay(LayerContainer layerContainer, WayProperties wayProperties) → void
Checks the wayProperties and adds itself to the layerContainer if there is something to draw.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderinstructionScale(Renderinstruction base, int zoomlevel) → void
Scales rendering parameters based on zoom level and base instruction.
inherited
secondPass(SymbolSearcher symbolSearcher) → void
Captions needs to find their assigned symbol to correctly render themself around the symbol. After all rules has been created a second pass is executed where captions are able to find their assigned symbol.
inherited
toString() String
A string representation of this object.
inherited

Operators

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