
public final class SimplePointTheme extends Object implements SimpleFastPointOverlay.PointAdapter
IGeoPoints 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, 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.PointAdapterpublic boolean isStyled()
SimpleFastPointOverlay.PointAdapterisStyled in interface SimpleFastPointOverlay.PointAdapter