Global application configuration
Default config
Create a custom config from a list of properties, e.g.
config
[ groups [ "routes", "rock-faces", "elements" ]
, pointRadius 2
, controls { zoom = False, pan = True, drag = False }
]Enable/disable zoom and pan controls in the UI
List of allowed groups in scene.
Each element can be in at most a single group and have a unique index in that group.
This is useful, for instance, to mark routes or other highlights on the topo map and have numbers identifying each element.
Radius of points, when rendered as circles.
Change the default scene id.
This is necessary if two scenes are present in the same screen. Each scene must have a unique id.
Control if editor is editable or not.
Initial shape, (width, height), of the viewing area.
Scale is in meters.
Initialize editor in a read-only state if boolean is true.
The config object. Usually should be created using init or the config utilitiy function