RenderthemeZoomlevel class

Zoom level specific rendering theme containing optimized rule matching.

This class represents a pre-processed rendering theme for a specific zoom level, providing cached rule matching for improved performance. It maintains separate caches for nodes, open ways, and closed ways to optimize rendering operations.

Key features:

  • LRU caches for rule matching results
  • Separate handling for nodes, open ways, and closed ways
  • Indoor level support for 3D mapping
  • Optimized matching algorithms with caching

Constructors

RenderthemeZoomlevel({required List<Rule> rulesList, required int maxLevels, int zoomlevel = -1})
Creates a new zoom level specific rendering theme.

Properties

closedWayMatchingCache ↔ Cache<MatchingCacheKey, List<Renderinstruction>>
LRU cache for closed way (area) rendering instruction matches.
latefinal
hashCode int
The hash code for this object.
no setterinherited
maxLevels int
getter/setter pair
nodeMatchingCache ↔ Cache<MatchingCacheKey, List<Renderinstruction>>
LRU cache for node (POI) rendering instruction matches.
latefinal
openWayMatchingCache ↔ Cache<MatchingCacheKey, List<Renderinstruction>>
LRU cache for open way (linear) rendering instruction matches.
latefinal
rulesList List<Rule>
Hierarchical list of rendering rules for this zoom level.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
matchClosedWay(Tile tile, Way way) List<Renderinstruction>
Matches a closed way (area) against the rendering rules for this zoom level.
matchNode(int indoorLevel, PointOfInterest pointOfInterest) List<Renderinstruction>
Matches a node (POI) against the rendering rules for this zoom level.
matchOpenWay(Tile tile, Way way) List<Renderinstruction>
Matches a linear way (open path) against the rendering rules for this zoom level.
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