public final class Line extends MultiPoint<Line,LineStyle>
Line feature. The Line draws lines with two or more coordinates.
Usage example:
Line line = new Line(context, "My Line").setCoordinates(coordinates)
MapController.putFeature(line);
Copyright (c) 2017 Nexusgeographics All rights reserved.
MapController,
LineStyle,
Feature,
Geometry,
MultiPoint| Constructor and Description |
|---|
Line(android.content.Context context)
Instantiates a new Line.
|
Line(android.content.Context context,
java.lang.String name)
Instantiates a new Line with name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
getCoordinates, setCoordinatesgetStyle, setStylecompareTo, getContext, getId, getInfo, getName, isCreated, remove, setInfoaddObserver, removeObserverpublic Line(@NonNull
android.content.Context context)
context - the contextpublic Line(@NonNull
android.content.Context context,
@NonNull
java.lang.String name)
context - the contextname - the feature namepublic boolean equals(java.lang.Object o)
equals in class MultiPoint<Line,LineStyle>public int hashCode()
hashCode in class MultiPoint<Line,LineStyle>