Announcement

Collapse
No announcement yet.

Hybrid OpenStreetMap OSM

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hybrid OpenStreetMap OSM

    I downloaded the source to World Wind. I am extending gov.nasa.worldwind.examples.ApplicationT emplate. I'm inserting a gov.nasa.worldwind.Earth.OpenStreetMapLa yer into the layers before the compass layer. However, when I run the program, I don't see the street map overlaid on the aerial photo, except in Santa Barbara, California. Anyone have a suggestion?

    package main;

    public class Test2 extends ApplicationTemplate {

    public static void main(String[] args)
    {
    final AppFrame frame = Test2.start("Test2", AppFrame.class);

    OpenStreetMapLayer osm = new OpenStreetMapLayer();
    Test2.insertBeforeCompass(frame.getWwd() , osm);
    osm.setEnabled(true);

    }
    }
Working...
X