public final class SimplePointTheme extends Object implements SimpleFastPointOverlay.PointAdapter
IGeoPoint
s to be used in
SimpleFastPointOverlay
. Can be used for unlabelled or labelled GeoPoints.
Use the simple constructor, or otherwise be sure to set the labelled and styled parameters of the
constructor to match the kind of points.
More complex cases should implement SimpleFastPointOverlay.PointAdapter
, not extend this
one. This is a simple example on how to implement an adapter for any case.
Created by Miguel Porto on 26-10-2016.Constructor and Description |
---|
SimplePointTheme(List<IGeoPoint> pPoints) |
SimplePointTheme(List<IGeoPoint> pPoints,
boolean labelled) |
SimplePointTheme(List<IGeoPoint> pPoints,
boolean labelled,
boolean styled) |
Modifier and Type | Method and Description |
---|---|
IGeoPoint |
get(int i) |
boolean |
isLabelled()
Whether this adapter has labels
|
boolean |
isStyled()
Whether the points are individually styled
|
Iterator<IGeoPoint> |
iterator()
NOTE: this iterator will be called very frequently, avoid complicated code.
|
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int size()
size
in interface SimpleFastPointOverlay.PointAdapter
public IGeoPoint get(int i)
get
in interface SimpleFastPointOverlay.PointAdapter
public boolean isLabelled()
SimpleFastPointOverlay.PointAdapter
isLabelled
in interface SimpleFastPointOverlay.PointAdapter
public boolean isStyled()
SimpleFastPointOverlay.PointAdapter
isStyled
in interface SimpleFastPointOverlay.PointAdapter