gov.nasa.worldwind.layers.placename
Class PlaceNameLayer
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.layers.AbstractLayer
gov.nasa.worldwind.layers.placename.PlaceNameLayer
- All Implemented Interfaces:
- AVList, Disposable, Layer, NamedObject, Restorable, BulkRetrievable, WWObject, PropertyChangeListener, EventListener
- Direct Known Subclasses:
- EarthNASAPlaceNameLayer, NASAWFSPlaceNameLayer
public class PlaceNameLayer
- extends AbstractLayer
- implements BulkRetrievable
Methods inherited from class gov.nasa.worldwind.layers.AbstractLayer |
dispose, doPick, doPreRender, getExpiryTime, getMaxActiveAltitude, getMinActiveAltitude, getName, getOpacity, getRestorableState, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, restoreState, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setOpacity, setPickEnabled, setScreenCredit, toString |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
GRID_144x288
protected static final LatLon GRID_144x288
GRID_16x32
protected static final LatLon GRID_16x32
GRID_1x1
protected static final LatLon GRID_1x1
GRID_288x576
protected static final LatLon GRID_288x576
GRID_36x72
protected static final LatLon GRID_36x72
GRID_4x8
protected static final LatLon GRID_4x8
GRID_72x144
protected static final LatLon GRID_72x144
GRID_8x16
protected static final LatLon GRID_8x16
LEVEL_A
protected static final double LEVEL_A
- See Also:
- Constant Field Values
LEVEL_B
protected static final double LEVEL_B
- See Also:
- Constant Field Values
LEVEL_C
protected static final double LEVEL_C
- See Also:
- Constant Field Values
LEVEL_D
protected static final double LEVEL_D
- See Also:
- Constant Field Values
LEVEL_E
protected static final double LEVEL_E
- See Also:
- Constant Field Values
LEVEL_F
protected static final double LEVEL_F
- See Also:
- Constant Field Values
LEVEL_G
protected static final double LEVEL_G
- See Also:
- Constant Field Values
LEVEL_H
protected static final double LEVEL_H
- See Also:
- Constant Field Values
LEVEL_I
protected static final double LEVEL_I
- See Also:
- Constant Field Values
LEVEL_J
protected static final double LEVEL_J
- See Also:
- Constant Field Values
LEVEL_K
protected static final double LEVEL_K
- See Also:
- Constant Field Values
LEVEL_L
protected static final double LEVEL_L
- See Also:
- Constant Field Values
LEVEL_M
protected static final double LEVEL_M
- See Also:
- Constant Field Values
LEVEL_N
protected static final double LEVEL_N
- See Also:
- Constant Field Values
LEVEL_O
protected static final double LEVEL_O
- See Also:
- Constant Field Values
LEVEL_P
protected static final double LEVEL_P
- See Also:
- Constant Field Values
PlaceNameLayer
public PlaceNameLayer(PlaceNameServiceSet placeNameServiceSet)
- Parameters:
placeNameServiceSet
- the set of PlaceNameService objects that PlaceNameLayer will render.
- Throws:
IllegalArgumentException
- if PlaceNameServiceSet
is null
doRender
protected void doRender(DrawContext dc)
- Specified by:
doRender
in class AbstractLayer
getEstimatedMissingDataSize
public long getEstimatedMissingDataSize(Sector sector,
double resolution)
- Get the estimated size in byte of the missing data for the given
Sector
and resolution. Note that the target resolution must be provided in radian latitude per
data sample - which is the resolution in meter divided by the globe radius.
- Specified by:
getEstimatedMissingDataSize
in interface BulkRetrievable
- Parameters:
sector
- the Sector
to estimate.resolution
- the target resolution provided in radian latitude per texel.
- Returns:
- the estimated size in byte of the missing imagery.
getPlaceNameServiceSet
public final PlaceNameServiceSet getPlaceNameServiceSet()
getReferencePoint
protected Vec4 getReferencePoint()
isCullNames
public boolean isCullNames()
makeLocal
public BulkRetrievalThread makeLocal(Sector sector,
double resolution)
- Start a new
BulkRetrievalThread
that will try to download all place name
tiles for a given Sector
and resolution. Note that the target resolution is ignored right now.
- Specified by:
makeLocal
in interface BulkRetrievable
- Parameters:
sector
- the Sector
to download tiles for.resolution
- the target resolution - ignored.
- Returns:
- the
BulkRetrievalThread
that executes the retrieval.
setCullNames
public void setCullNames(boolean cullNames)