public class MarkerLayer extends AbstractLayer
Constructor and Description |
---|
MarkerLayer() |
MarkerLayer(java.lang.Iterable<Marker> markers) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPick(DrawContext dc,
java.awt.Point pickPoint) |
protected void |
doRender(DrawContext dc) |
protected void |
draw(DrawContext dc,
java.awt.Point pickPoint) |
double |
getElevation() |
protected MarkerRenderer |
getMarkerRenderer() |
java.lang.Iterable<Marker> |
getMarkers() |
double |
getOpacity()
Returns the layer's opacity value, which is ignored by this layer because each of its markers has an attribute
with its own opacity control.
|
boolean |
isEnablePickSizeReturn() |
boolean |
isKeepSeparated() |
boolean |
isOverrideMarkerElevation() |
void |
setElevation(double elevation) |
void |
setEnablePickSizeReturn(boolean enablePickSizeReturn) |
void |
setKeepSeparated(boolean keepSeparated) |
protected void |
setMarkerRenderer(MarkerRenderer markerRenderer) |
void |
setMarkers(java.lang.Iterable<Marker> markers) |
void |
setOpacity(double opacity)
Opacity is not applied to layers of this type because each marker has an attribute set with opacity control.
|
void |
setOverrideMarkerElevation(boolean overrideMarkerElevation) |
java.lang.String |
toString() |
createLayerConfigElements, dispose, doPreRender, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getRestorableState, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, restoreState, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setPickEnabled, setScreenCredit
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
onMessage
public MarkerLayer()
public MarkerLayer(java.lang.Iterable<Marker> markers)
protected void doPick(DrawContext dc, java.awt.Point pickPoint)
doPick
in class AbstractLayer
protected void doRender(DrawContext dc)
doRender
in class AbstractLayer
protected void draw(DrawContext dc, java.awt.Point pickPoint)
public double getElevation()
protected MarkerRenderer getMarkerRenderer()
public java.lang.Iterable<Marker> getMarkers()
public double getOpacity()
getOpacity
in interface Layer
getOpacity
in class AbstractLayer
public boolean isEnablePickSizeReturn()
public boolean isKeepSeparated()
public boolean isOverrideMarkerElevation()
public void setElevation(double elevation)
public void setEnablePickSizeReturn(boolean enablePickSizeReturn)
public void setKeepSeparated(boolean keepSeparated)
protected void setMarkerRenderer(MarkerRenderer markerRenderer)
public void setMarkers(java.lang.Iterable<Marker> markers)
public void setOpacity(double opacity)
setOpacity
in interface Layer
setOpacity
in class AbstractLayer
opacity
- the current opacity value, which is ignored by this layer.public void setOverrideMarkerElevation(boolean overrideMarkerElevation)
public java.lang.String toString()
toString
in class AbstractLayer