Class AbstractLayer
java.lang.Object
com.codename1.maps.layers.AbstractLayer
- All Implemented Interfaces:
Layer
- Direct Known Subclasses:
LinesLayer, PointsLayer
This class represents an abstract layer on the map.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BoundingBoxThe bounding box of this LayergetName()Gets the name of this LayerThe projection of this LayerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
-
projection
-
-
Constructor Details
-
AbstractLayer
Creates an abstract layer.
Parameters
-
p: the projection system of this Layer -
name: the name of this Layer
-
-
-
Method Details
-
getName
-
getProjection
The projection of this Layer
Returns
the projection of this Layer
-
boundingBox
The bounding box of this Layer
Returns
the Layer bounding box
- Specified by:
boundingBoxin interfaceLayer
-