Skip to content

GeodeticGraticule and numGridLines #1811

Discussion options

You must be logged in to vote

It's been a long time since I looked at this code so I had to go back and get a refresher 😄 The grid lines setting works to select the appropriate resolution from the resolution list for the current view. This logic is done in this block of code.
So increasing the grid lines setting just increases the chance that osgEarth will select the next highest resolution.

Also keep in mind that if you get closer to the surface and tilt so you're looking over the horizon vs looking straight down it will switch to using a lower resolution graticule since it's trying to maintain a consistent number of lines on the screen.

You are probably reaching the maximum configured resolution which is why you are…

Replies: 1 comment

Comment options

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