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 ?

有帮助吗?

解决方案

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);
   }
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top