Drawing a "multi" geometry shape in osgEarth #2486
-
|
Hi All |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
|
You are looking for Annotations. Look at the example earth file If you need to do it in code, take a look at the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Ok, I'll try that, thanks That extract was from the osgearth_annotation.cpp example? |
Beta Was this translation helpful? Give feedback.
-
|
The version from vcpkg is as follows:- |
Beta Was this translation helpful? Give feedback.
-
|
I had to go all the way back to Version 2.7 to find a reference to That is 9 years ago :) |
Beta Was this translation helpful? Give feedback.
-
|
Sh!t, my apologies, its just what came up when I first searched osgEarth examples and I've never bothered to check the version. Sorry about that! So re my previous query, how do I get that sector into a polygon to be able to fill it? It consists of 2 LineStrings and 2 CircleNodes. |
Beta Was this translation helpful? Give feedback.
-
|
So, I've decided to just create my own arc's using a series of line segments. That seemed the simplest solution to me to get everything into a polygon so that it can be filled if required. |
Beta Was this translation helpful? Give feedback.

So, I've decided to just create my own arc's using a series of line segments. That seemed the simplest solution to me to get everything into a polygon so that it can be filled if required.