WayProperties class
Properties for one Way as read from the datastore. Note that the properties are dependent on the zoomLevel. Therefore one instance of WayProperties can be used for one zoomlevel only.
Constructors
- WayProperties(Way way, PixelProjection projection)
Properties
- center ↔ Mappoint?
-
cache for the absolute center of the way in mappixels
getter/setter pair
-
coordinatesAbsolute
↔ List<
List< Mappoint> > -
cache for absolute coordinates in mappixels
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClosedWay → bool
-
final
- layer → int
-
final
- maxGap → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- way → Way
-
final
Methods
-
calculateStringPath(
double dy) → LineSegmentPath? -
getBoundaryAbsolute(
) → MapRectangle -
getCenterAbsolute(
PixelProjection projection) → Mappoint -
getCoordinatesAbsolute(
) → List< List< Mappoint> > -
getLayer(
) → int -
getTags(
) → TagCollection -
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