Package ucar.nc2.ui.gis.worldmap
Class WorldMap
- java.lang.Object
-
- ucar.nc2.ui.gis.GisFeatureRenderer
-
- ucar.nc2.ui.gis.worldmap.WorldMap
-
- All Implemented Interfaces:
Renderer
public class WorldMap extends GisFeatureRenderer
A simple "default" world map Renderer.
-
-
Field Summary
-
Fields inherited from class ucar.nc2.ui.gis.GisFeatureRenderer
displayProject, shapeList
-
-
Constructor Summary
Constructors Constructor Description WorldMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProjectionImpl
getDataProjection()
protected List<GisFeature>
getFeatures()
LatLonRect
getPreferredArea()
Preferred map area on opening for first time.static AbstractGisFeature
getWorldMap()
-
Methods inherited from class ucar.nc2.ui.gis.GisFeatureRenderer
draw, getColor, getShapes, setColor, setProjection
-
-
-
-
Method Detail
-
getWorldMap
public static AbstractGisFeature getWorldMap()
-
getPreferredArea
public LatLonRect getPreferredArea()
Description copied from class:GisFeatureRenderer
Preferred map area on opening for first time.- Specified by:
getPreferredArea
in interfaceRenderer
- Specified by:
getPreferredArea
in classGisFeatureRenderer
- Returns:
- lat/lon bounding box that specifies preferred area.
-
getFeatures
protected List<GisFeature> getFeatures()
- Specified by:
getFeatures
in classGisFeatureRenderer
-
getDataProjection
protected ProjectionImpl getDataProjection()
- Specified by:
getDataProjection
in classGisFeatureRenderer
-
-