Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/config/worldwind.layers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
<Layer href="config/Earth/USGSTopoLowResLayer.xml" actuate="onRequest"/>
<Layer href="config/Earth/USGSTopoMedResLayer.xml" actuate="onRequest"/>
<Layer href="config/Earth/USGSTopoHighResLayer.xml" actuate="onRequest"/>
<!--<Layer className="gov.nasa.worldwind.layers.Earth.OSMMapnikLayer" actuate="onRequest"/>-->
<Layer className="gov.nasa.worldwind.layers.Earth.OSMMapnikLayer" actuate="onRequest"/>
<!--<Layer className="gov.nasa.worldwind.layers.Earth.OSMCycleMapLayer" actuate="onRequest"/>-->
<Layer className="gov.nasa.worldwind.layers.Earth.CountryBoundariesLayer" actuate="onRequest"/>
<Layer href="config/Earth/OpenStreetMap.xml" actuate="onRequest"/>
<!--<Layer href="config/Earth/OpenStreetMap.xml" actuate="onRequest"/>-->
<!--<Layer href="config/Earth/WorldBordersShapefile.xml" actuate="onRequest"/>-->
<Layer href="config/Earth/EarthAtNightLayer.xml" actuate="onRequest"/>
<Layer className="gov.nasa.worldwind.layers.Earth.NASAWFSPlaceNameLayer"/>
<Layer className="gov.nasa.worldwind.layers.WorldMapLayer"/>
<Layer className="gov.nasa.worldwind.layers.ScalebarLayer"/>
<Layer className="gov.nasa.worldwind.layers.CompassLayer"/>
</LayerList>
</LayerList>
3 changes: 3 additions & 0 deletions src/gov/nasa/worldwind/layers/Earth/OSMMapnikLayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
*/
public class OSMMapnikLayer extends BasicMercatorTiledImageLayer
{
static final double DEFAULT_OPACITY = 0.5d;

public OSMMapnikLayer()
{
super(makeLevels());
setOpacity(DEFAULT_OPACITY);
}

private static LevelSet makeLevels()
Expand Down