Add comments.

This commit is contained in:
Holt59 2018-03-03 00:43:38 +01:00
parent 0622f9fa83
commit 6ae4e88d23

View file

@ -46,7 +46,11 @@ public class MapViewDrawing extends MapView implements Drawing {
*/ */
private static final long serialVersionUID = 8606967833704938092L; private static final long serialVersionUID = 8606967833704938092L;
private class MapViewOverlay implements Overlay { /**
* Base Overlay for MapViewDrawing overlays.
*
*/
private abstract class MapViewOverlay implements Overlay {
// Marker associated. // Marker associated.
protected Layer[] layers; protected Layer[] layers;
@ -83,6 +87,10 @@ public class MapViewDrawing extends MapView implements Drawing {
}; };
/**
* MarkerOverlay for MapViewDrawing.
*
*/
private class MapViewMarkerOverlay extends MapViewOverlay implements MarkerOverlay { private class MapViewMarkerOverlay extends MapViewOverlay implements MarkerOverlay {
// Color of this marker // Color of this marker
@ -116,6 +124,10 @@ public class MapViewDrawing extends MapView implements Drawing {
}; };
/**
* PathOverlay for MapViewDrawing.
*
*/
private class MapViewPathOverlay extends MapViewOverlay implements PathOverlay { private class MapViewPathOverlay extends MapViewOverlay implements PathOverlay {
public MapViewPathOverlay(PolylineAutoScaling path, Marker origin, Marker destination) { public MapViewPathOverlay(PolylineAutoScaling path, Marker origin, Marker destination) {
@ -128,6 +140,10 @@ public class MapViewDrawing extends MapView implements Drawing {
} }
/**
* PointSetOverlay for MapViewDrawing - Not currently implemented.
*
*/
private class MapViewPointSetOverlay extends MapViewOverlay implements PointSetOverlay { private class MapViewPointSetOverlay extends MapViewOverlay implements PointSetOverlay {
public MapViewPointSetOverlay() { public MapViewPointSetOverlay() {