Hi, firstable thanks for this great library.
I've implemented a 3d globe with 2 marks.
G3MWidget_Android g3mWidget;
G3MBuilder_Android builder;
LayerSet layerSet;
builder = new G3MBuilder_Android(this);`
layerSet = new LayerSet();
WMSLayer blueMarble = LayerBuilder.createBlueMarbleLayer(true);
layerSet.addLayer(blueMarble);
builder.getPlanetRendererBuilder().setLayerSet(layerSet);
final MarksRenderer marksRenderer = new MarksRenderer(true);
Mark SOLE;
final URL markSoleBitmapURL = new URL("file:///sun.png");
SOLE = new Mark(markSoleBitmapURL, new Geodetic3D(Angle.fromDegrees(45),
Angle.fromDegrees(12), 0), AltitudeMode.ABSOLUTE, 1);
marksRenderer.addMark(SOLE);
builder.addRenderer(marksRenderer);
g3mWidget = builder.createWidget();
When I move the globe with my finger the sun is not always displayed..sometimes disappear
Anyone can tell me the reason of this strange behavior ?
ps: The height of the Camera is 2.5e07 and the Mark is 0.
Thanks in advance....
Sorry I have found a solution.
The problem was due to a Timer with inside an handler for changing the Mark position.
I've removed the Handler and all goes ok.
Thanks all...
Hi, firstable thanks for this great library. I've implemented a 3d globe with 2 marks.
When I move the globe with my finger the sun is not always displayed..sometimes disappear Anyone can tell me the reason of this strange behavior ?
ps: The height of the Camera is 2.5e07 and the Mark is 0. Thanks in advance....