-
- All Implemented Interfaces:
-
java.lang.Iterable,org.osmdroid.views.overlay.simplefastpoint.SimpleFastPointOverlay.PointAdapter
public final class SimplePointTheme implements SimpleFastPointOverlay.PointAdapter
This class is just a simple wrapper for a List of 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 Summary
Constructors Constructor Description SimplePointTheme(List<IGeoPoint> pPoints)SimplePointTheme(List<IGeoPoint> pPoints, boolean labelled)SimplePointTheme(List<IGeoPoint> pPoints, boolean labelled, boolean styled)
-
Method Summary
-
-
Method Detail
-
size
int size()
-
isLabelled
boolean isLabelled()
Whether this adapter has labels
-
isStyled
boolean isStyled()
Whether the points are individually styled
-
-
-
-