LineDrawable can not be picked up by rttpicker

classic Classic list List threaded Threaded
3 messages Options
liugaijin liugaijin
Reply | Threaded
Open this post in threaded view
|

LineDrawable can not be picked up by rttpicker

in osgearth 3.2(the latest developing version),
I created some featurenodes, modelnodes, labelnodes, and so on in the annotationlayer.
The modelnodes, labelnodes can be picked up, except the featuresnodes.

I compared the codes between 3.1 and 3.2, I found that you changed the base classes of linegroup and linedrawable.
in osgearth 3.1, their base classes are geode and geometry.
but in osgearth 3.2, their base classes are group and drawable.
I don't know if that's what caused it.

I need your help.


liugaijin liugaijin
Reply | Threaded
Open this post in threaded view
|

Re: LineDrawable can not be picked up by rttpicker

There is the same problem when I use the FeatureModelLayer.
I create a featuremodelayer with ogrfeaturesource (geometry type is linestring), a style with linesymbol.
I cannot pick up the feature.
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: LineDrawable can not be picked up by rttpicker

I recommend you try the new ObjectIDPicker, which is a replacement for the RTTPicker.
Glenn Waldron / Pelican Mapping