|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface defines a layer object.
A layer stores a lot of features which have the same type of default geometry. GeographyLayer controls all the properties which determine how to display a layer.
For example, if you want to hide the layer, you can use setLayerVisible(false). If you want to change the style of the layer, you should use setLayerComplexStyle(...) to set new style.
A layer is an aggregation of a collection of features, a Style. Through a layer object, you can access the attributes' names, features, and event the specific property of the layer style.
Field Summary | |
static java.lang.String |
IMAGELAYER_NAME
|
Method Summary | |
java.awt.geom.Rectangle2D |
getLayerBounds()
Gets the geographical bounds of the layer |
java.lang.String |
getTitle()
Gets the title of the GeographyLayer. |
boolean |
isVisible()
Indicates whether the layer is visible. |
void |
setLayerBounds(double minLongitude,
double minLatitude,
double maxLongitude,
double maxLatitude)
Sets the geographical bounds of the layer |
void |
setVisible(boolean value)
Decides whether the layer is visible. |
Field Detail |
public static final java.lang.String IMAGELAYER_NAME
Method Detail |
public java.awt.geom.Rectangle2D getLayerBounds()
public java.lang.String getTitle()
public boolean isVisible()
setVisible(boolean)
public void setLayerBounds(double minLongitude, double minLatitude, double maxLongitude, double maxLatitude)
minLongitude
- the minimum longitude of the boundsminLatitude
- the minimum latitude of the boundsmaxLongitude
- the maximal longitude of the boundsmaxLatitude
- the maximal latitude of the boundspublic void setVisible(boolean value)
value
- true if you want to set the layer visible, false otherwise.isVisible()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |