Rana/Data

From OpenStreetMap Wiki
Jump to navigation Jump to search

GUI data

viewport

the visible screen area ([x,y,w,h])

z

the current zoom level

menu

name of the active menu, if any (None = displaying map)

Data

pos

current position ([lat, lon])

pos_source

name of the system supplying position info

nearest_road

name of the nearest road (populated in response to lookup_road)

Requests and responses

needRedraw

set to True to redraw the screen

lookup_road

whether to lookup local road names (bool)