public abstract class DirectLayer extends Layer
Direct layers are responsible for their own rendering and are useful for:
Modifier | Constructor and Description |
---|---|
protected |
DirectLayer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
draw(Graphics2D graphics,
MapContent map,
MapViewport viewport)
Draw layer contents onto screen
|
addMapLayerListener, connectDataListener, dispose, finalize, fireMapLayerListenerLayerChanged, fireMapLayerListenerLayerDeselected, fireMapLayerListenerLayerHidden, fireMapLayerListenerLayerPreDispose, fireMapLayerListenerLayerSelected, fireMapLayerListenerLayerShown, getBounds, getFeatureSource, getQuery, getStyle, getTitle, getUserData, isSelected, isVisible, preDispose, removeMapLayerListener, setSelected, setTitle, setVisible, toString
public abstract void draw(Graphics2D graphics, MapContent map, MapViewport viewport)
map
- Map being drawn; check map bounds and crsgraphics
- Graphics to draw intoviewport
- Area to draw the map into; including screen areaCopyright © 1996–2019 Geotools. All rights reserved.