WhirlyGlobe icon indicating copy to clipboard operation
WhirlyGlobe copied to clipboard

Sphere selection not working on Android

Open mousebird opened this issue 8 years ago • 1 comments

Should work. Doesn't seem to. The AutoTester entry should trigger it.

mousebird avatar Aug 25 '16 22:08 mousebird

I have found a partial solution to this issue which may help in finding a proper fix. In the latest edition of WhirlyGlobe, adding the following line to addShapes in RenderController.java allows for ShapeSphere selection; but only while the sphere in question has the globe behind it.

for (Shape shape : shapes) {shape.setSelectID(Identifiable.genID());}

This should be added immediately below taskMan.addTask(() -> { If the sphere is outside the perimeter of the globe, however, selection still does not trigger userDidSelect.

This functionality works without issue on iOS.

austindouglasgriffith avatar Jul 11 '21 19:07 austindouglasgriffith