Domanda

can some body please tell me how to draw lines on the earth in WorldWind.

i want to draw latitude and longitude line on the surface of globe visible ?

È stato utile?

Soluzione

You need to add the graticule layer:

   try {
       graticuleLayer = (Layer) LatLonGraticuleLayer.class.newInstance();
   } catch (Exception e) {
       System.out.println("Can't get a graticule layer " + e);
   }
   if (graticuleLayer != null) {
       graticuleLayer.setEnabled(true);
   }
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top