Wayholder class
Holds one way and its tags
Constructors
- Wayholder.new()
- Wayholder.fromWay(Way way)
- Creates a new wayholder from a existing way. Note that the existing way may NOT contain any path (if created from a OsmRelation)
Properties
- boundingBoxCached → BoundingBox
-
no setter
-
closedOutersRead
→ List<
Waypath> -
no setter
-
closedOutersWrite
→ List<
Waypath> -
no setter
- featureElevation ↔ int?
-
getter/setter pairinherited
- featureHouseNumber ↔ String?
-
getter/setter pairinherited
- featureName ↔ String?
-
getter/setter pairinherited
- featureRef ↔ String?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
innerRead
→ List<
Waypath> -
no setter
-
innerWrite
→ List<
Waypath> -
no setter
- labelPosition ↔ ILatLong?
-
The position of the area label (may be null).
getter/setter pair
-
languagesPreference
↔ List<
String> -
The preferred language(s) separated with ',' for names as defined in ISO 639-1 or ISO 639-2 (may be null).
getter/setter pairinherited
- layer ↔ int
-
The layer of this way + 5 (to avoid negative values).
getter/setter pair
- mergedWithOtherWay ↔ bool
-
This way is already merged with another way and hence should not be written to the file.
getter/setter pair
-
openOutersRead
→ List<
Waypath> -
no setter
-
openOutersWrite
→ List<
Waypath> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tagholders
↔ List<
Tagholder> -
getter/setter pairinherited
-
The tags of this way.
getter/setter pair
- tileBitmask ↔ int
-
getter/setter pair
- writebufferTagvalues ↔ Writebuffer
-
getter/setter pairinherited
Methods
-
analyze(
List< Tagholder> tagholders, String? languagesPreference) → void -
analyzeTags(
List< Tag> tags, List<Tagholder> tagsArray) → void -
inherited
-
cloneWith(
{List< Waypath> ? inner, List<Waypath> ? closedOuters, List<Waypath> ? openOuters}) → Wayholder -
closedOutersAdd(
Waypath waypath) → void -
closedOutersAddAll(
List< Waypath> waypaths) → void -
closedOutersRemove(
Waypath waypath) → void -
getTag(
String key) → String? -
hasTag(
String key) → bool -
hasTagValue(
String key, String value) → bool -
innerAddAll(
List< Waypath> waypaths) → void -
mayMoveToClosed(
Waypath waypath) → bool -
moveInnerToOuter(
) → void - moves the inner ways to the outer ways if no outer ways exists anymore
-
nodeCount(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openOutersAdd(
Waypath waypath) → void -
openOutersAddAll(
List< Waypath> waypaths) → void -
openOutersRemove(
Waypath waypath) → void -
pathCount(
) → int -
toString(
) → String -
A string representation of this object.
override
-
toStringWithoutNames(
) → String -
writeTags(
Writebuffer writebuffer) → void -
inherited
-
writeWaydata(
bool debugFile, Tile tile, double tileLatitude, double tileLongitude) → Writebuffer - can be done when the tags are sorted
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited