Class OffsetIterator

  • All Implemented Interfaces:
    java.util.Iterator<MapViewState.MapViewPoint>

    public class OffsetIterator
    extends java.lang.Object
    implements java.util.Iterator<MapViewState.MapViewPoint>
    Iterates over a list of Way Nodes and returns screen coordinates that represent a line that is shifted by a certain offset perpendicular to the way direction. There is no intention, to handle consecutive duplicate Nodes in a perfect way, but it should not throw an exception.
    Since:
    11696 made public