public abstract class AbstractLayer
- Object
- AbstractLayer
ImplementsLayer
Known subtypesLinesLayer, PointsLayer
This class represents an abstract layer on the map.
Fields
protected final String name | |
protected Projection projection |
Constructors
public AbstractLayer(Projection p, String name) | Creates an abstract layer. |
Methods
public String getName() | Gets the name of this Layer |
public Projection getProjection() | The projection of this Layer |
public abstract BoundingBox boundingBox() | The bounding box of this Layer |
Inherited methods
Field details
name
protected final String nameprojection
protected Projection projectionConstructor details
AbstractLayer
public AbstractLayer(Projection p, String name)Creates an abstract layer.
Parameters
pProjection- the projection system of this Layer
nameString- the name of this Layer
Method details
getName
public String getName()Gets the name of this Layer
Returns
the name of this Layer
getProjection
public Projection getProjection()The projection of this Layer
Returns
the projection of this Layer
boundingBox
public abstract BoundingBox boundingBox()The bounding box of this Layer
Returns
the Layer bounding box