Class MGRSGraticuleLayer
- java.lang.Object
-
- gov.nasa.worldwind.layer.AbstractLayer
-
- gov.nasa.worldwind.layer.graticule.AbstractGraticuleLayer
-
- gov.nasa.worldwind.layer.graticule.AbstractUTMGraticuleLayer
-
- gov.nasa.worldwind.layer.graticule.MGRSGraticuleLayer
-
- All Implemented Interfaces:
Layer
public class MGRSGraticuleLayer extends AbstractUTMGraticuleLayer
-
-
Constructor Summary
Constructors Constructor Description MGRSGraticuleLayer()
Creates a newMGRSGraticuleLayer
, with default graticule attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMaximumGraticuleResolution()
Returns the maxiumum resolution graticule that will be rendered, or null if no graticules will be rendered.void
setMaximumGraticuleResolution(java.lang.String graticuleType)
Sets the maxiumum resolution graticule that will be rendered.-
Methods inherited from class gov.nasa.worldwind.layer.graticule.AbstractGraticuleLayer
doRender, getGraticuleLineColor, getGraticuleLineWidth, getLabelColor, getLabelSize, getLabelTypeface, isDrawGraticule, isDrawLabels, setDrawGraticule, setDrawLabels, setGraticuleLineColor, setGraticuleLineWidth, setLabelColor, setLabelSize, setLabelTypeface
-
Methods inherited from class gov.nasa.worldwind.layer.AbstractLayer
getDisplayName, getMaxActiveAltitude, getMinActiveAltitude, getOpacity, getUserProperty, hasUserProperty, isEnabled, isPickEnabled, isWithinActiveAltitudes, putUserProperty, removeUserProperty, render, setDisplayName, setEnabled, setMaxActiveAltitude, setMinActiveAltitude, setOpacity, setPickEnabled
-
-
-
-
Method Detail
-
getMaximumGraticuleResolution
public java.lang.String getMaximumGraticuleResolution()
Returns the maxiumum resolution graticule that will be rendered, or null if no graticules will be rendered. By default, all graticules are rendered, and this will return GRATICULE_1M.- Returns:
- maximum resolution rendered.
-
setMaximumGraticuleResolution
public void setMaximumGraticuleResolution(java.lang.String graticuleType)
Sets the maxiumum resolution graticule that will be rendered.- Parameters:
graticuleType
- one of GRATICULE_MGRS_OVERVIEW, GRATICULE_MGRS_GRID_ZONE, GRATICULE_100000M, GRATICULE_10000M, GRATICULE_1000M, GRATICULE_100M, GRATICULE_10M, or GRATICULE_1M.
-
-