
public final class SimplePointTheme extends Object implements SimpleFastPointOverlay.PointAdapter
IGeoPoints to be used in
SimpleFastPointOverlay. Can be used for unlabelled or labelled GeoPoints. Be sure to set
the labelled parameter of the constructor to match the kind of points.
More complex cases should implement SimpleFastPointOverlay.PointAdapter, not extend this
one.
Created by Miguel Porto on 26-10-2016.| Constructor and Description |
|---|
SimplePointTheme(List<IGeoPoint> pPoints,
boolean labelled) |
| Modifier and Type | Method and Description |
|---|---|
IGeoPoint |
get(int i) |
boolean |
isLabelled()
Whether this adapter has labels
|
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, waitforEach, spliteratorpublic int size()
size in interface SimpleFastPointOverlay.PointAdapterpublic IGeoPoint get(int i)
get in interface SimpleFastPointOverlay.PointAdapterpublic boolean isLabelled()
SimpleFastPointOverlay.PointAdapterisLabelled in interface SimpleFastPointOverlay.PointAdapter