slow osgearth widget after adding place points #2479
-
I have about 800 points with labels that I am loading into a map (WGS 84 map) of the whole earth model (i am using the world.tif file from the test folder). The widget is smooth in zooming and navigating until I load the points to the map. My question is that is there anyway that I can optimize it?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When you use If it's just a frame-rate issue, there is not a lot you can do. 800 icons+labels is a lot especially if there are no decluttered. (You can ignore the debug message; it is just explaining that it could not clamp a point b/c it falls outside the bounds of a tile.) |
Beta Was this translation helpful? Give feedback.
-
@gwaldron Thank you for your reply. It is very helpful. |
Beta Was this translation helpful? Give feedback.
When you use
ALTMODE_RELATIVE
the system will try to re-clamp every point each time a new tile pages in. 800 is a lot. Consider setting this toALTMODE_ABSOLUTE
unless you really think you need the dynamic clamping.If it's just a frame-rate issue, there is not a lot you can do. 800 icons+labels is a lot especially if there are no decluttered.
(You can ignore the debug message; it is just explaining that it could not clamp a point b/c it falls outside the bounds of a tile.)