WorldWindJava icon indicating copy to clipboard operation
WorldWindJava copied to clipboard

Replace broken NASA OSM mapcache with the OSMMapnickLayer at 50% opacity

Open gb96 opened this issue 8 years ago • 0 comments

Description of the Change

  1. OSMMapnickLayer default to 50% opacity so it is useful as an overlay
  2. Swap broken OSM Layer Earth/OpenStreetMap.xml with OSMMapnikLayer in config/worldwind.layers.xml

Why Should This Be In Core?

The default OSM layer is currently broken, creating a problem for all the demo/example apps. Should not negatively impact any applications that use WWJ SDK.

Benefits

Minor change restores presense of a working OSM layer to all the demo/example apps.

Potential Drawbacks

OSMMapnikLayer hits a.tile.openstreetmap.org directly, including it by default would increase load on openstreetmap.org servers. Applications that have the broken NASA OSM tileset cached locally and rely on the content of the default worldwind.layers.xml pointing to the Earth/OpenStreetMap.xml will no longer use that cached tileset. The cached NASA OSM tileset cannot be easily reused by OSMMapnikLayer because of different projections. The workaround for such applications is to retain the unchanged version of config/worldwind.layers.xml

Applicable Issues

#138

gb96 avatar Oct 27 '17 01:10 gb96