Hi all, i'm recently reinstalled osg and osgearth. I have a problem with click events for PlaceNode annotation.
I noticed that nothing happen when i click on the Annotation. The code it's the same, it still works for Annotations of CircleNode, EllipseNode,... type.
I'm using the old method of "AnnotationEventHandler" for catch up events, i know that it's deprecated, but RTTPicker::Callback also doesn't work.
The code it's very simples.
CircleNode* circle = new CircleNode(
GeoPoint(geoSRS, -90.25, 29.98, 1000., ALTMODE_RELATIVE),
circleStyle, Angle(-45.0, Units::DEGREES), Angle(45.0, Units::DEGREES), true);
annoGroup->addChild( circle ); //it works
PlaceNode *place = new PlaceNode(mapNode, GeoPoint(geoSRS, -87.65, 41.90, 1000, ALTMODE_ABSOLUTE) , "POI", pm );
annoGroup->addChild( place );