MapStructure Optimizations: Difference between revisions

Jump to navigation Jump to search
Line 6: Line 6:


The scale option is implemented differently, and is worth more detailed discussion. There are two scales at work here:  
The scale option is implemented differently, and is worth more detailed discussion. There are two scales at work here:  
# The Range, which is used to determine what is searched for  
# The '''Range''', which is used to determine what is searched for  
# The Screen Range, which is effectively a resolution figure and closer to what we think of as scaling.  
# The '''Screen Range''', which is effectively a resolution figure and closer to what we think of as scaling.  


The Airport dialog uses a fixed Range, and a variable Screen Range. This is because if we just use the Range, as we zoom in the airport center may fall outside the range, but the runways/taxiways/parking should still be visible. In contrast, the map-canvas currently uses a fixed ScreenRange of 200, and the zoom-in/out function changes the Range value.<ref>{{cite web
The Airport dialog uses a fixed Range, and a variable Screen Range. This is because if we just use the Range, as we zoom in the airport center may fall outside the range, but the runways/taxiways/parking should still be visible. In contrast, the map-canvas currently uses a fixed ScreenRange of 200, and the zoom-in/out function changes the Range value.<ref>{{cite web

Navigation menu