Package org.mapsforge.map.datastore
Class Way
- java.lang.Object
-
- org.mapsforge.map.datastore.Way
-
public class Way extends java.lang.Object
An immutable container for all data associated with a single way or area (closed way).
-
-
Field Summary
Fields Modifier and Type Field Description org.mapsforge.core.model.LatLong
labelPosition
The position of the area label (may be null).org.mapsforge.core.model.LatLong[][]
latLongs
The geographical coordinates of the way nodes.byte
layer
The layer of this way + 5 (to avoid negative values).java.util.List<org.mapsforge.core.model.Tag>
tags
The tags of this way.
-
Constructor Summary
Constructors Constructor Description Way(byte layer, java.util.List<org.mapsforge.core.model.Tag> tags, org.mapsforge.core.model.LatLong[][] latLongs, org.mapsforge.core.model.LatLong labelPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
labelPosition
public final org.mapsforge.core.model.LatLong labelPosition
The position of the area label (may be null).
-
latLongs
public final org.mapsforge.core.model.LatLong[][] latLongs
The geographical coordinates of the way nodes.
-
layer
public final byte layer
The layer of this way + 5 (to avoid negative values).
-
tags
public final java.util.List<org.mapsforge.core.model.Tag> tags
The tags of this way.
-
-