Skip to content

filter annotations by their title/text and get a list of similar names (like function in SQL) #2586

Discussion options

You must be logged in to vote

There's no filtering of nodes in osgEarth; you will need to code that up yourself. You can use setNodeMask(0) to hide a node, and setNodeMask(~0) to show one.

Perhaps the ViewFitter class will help with zooming to a region or node.

You can try adding a custom shader to an AnnotationNode to change its color at runtime, using the VirtualProgram construct.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gwaldron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants