{"action":"opened","issue":{"url":"https://api.github.com/repos/glob3mobile/g3m/issues/160","labels_url":"https://api.github.com/repos/glob3mobile/g3m/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/glob3mobile/g3m/issues/160/comments","events_url":"https://api.github.com/repos/glob3mobile/g3m/issues/160/events","html_url":"https://github.com/glob3mobile/g3m/issues/160","id":123693214,"number":160,"title":"PeriodicalTask problem","user":{"login":"silvioItaly","id":15836593,"avatar_url":"https://avatars.githubusercontent.com/u/15836593?v=3","gravatar_id":"","url":"https://api.github.com/users/silvioItaly","html_url":"https://github.com/silvioItaly","followers_url":"https://api.github.com/users/silvioItaly/followers","following_url":"https://api.github.com/users/silvioItaly/following{/other_user}","gists_url":"https://api.github.com/users/silvioItaly/gists{/gist_id}","starred_url":"https://api.github.com/users/silvioItaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvioItaly/subscriptions","organizations_url":"https://api.github.com/users/silvioItaly/orgs","repos_url":"https://api.github.com/users/silvioItaly/repos","events_url":"https://api.github.com/users/silvioItaly/events{/privacy}","received_events_url":"https://api.github.com/users/silvioItaly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-23T17:08:54Z","updated_at":"2015-12-23T17:08:54Z","closed_at":null,"body":"Hi,\r\nI have yet another problem with my 3d android application.\r\nIn onCreate method I've set this:\r\n```\r\nbuilder = new G3MBuilder_Android(this);\r\nlayerSet = new LayerSet();\r\n\r\nWMSLayer blueMarble = LayerBuilder.createBlueMarbleLayer(true);\r\nlayerSet.addLayer(blueMarble);\r\nbuilder.getPlanetRendererBuilder().setLayerSet(layerSet);\r\n…….\r\nbuilder.setInitializationTask(initGlobe());\r\n```\r\ninitGlobe() is my GinitializationTask where i have created the Mark\r\nThen:\r\n```\r\nbuilder.addPeriodicalTask(updateTime3DPeriodicaLtask());\r\ng3mWidget = builder.createWidget();\r\n```\r\nThe problem is with the PeriodicalTask  updateTime3DPeriodicaLtask\r\nIt perform some calculation that change the Geodetic3D position of the mark via setPosition every 1 seconds.\r\nTo make the mark centered on the globe I call, inside PeriodicalTask:\r\n```\r\ng3mWidget.setCameraPosition(position);\r\n```\r\n\r\nThe problem: after some changing position the mark disappear and, after some time, reappear.\r\n\r\nWhen the changing position are not great it seems to perform well.\r\nWhen the changing position make the globe to rotate more  quickly the problem appear.\r\nIf anyone can give me some hint…..thanks all.\r\n\r\n\r\n\r\n\r\n"}}