-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
36 lines (26 loc) · 785 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Attribution
============
Ported from http://qt.gitorious.org/qt-labs/graphics-dojo/trees/master/lightmaps
See also http://labs.trolltech.com/blogs/2009/08/04/openstreetmap-and-qt-and-s60/
License
========
GPLv3
Requirements
=============
Qt 4.5 or newer
Debian: python-qt4
Usage
======
chmod +x lightmaps.py
./lightmaps.py
Key bindings
=============
Mouse buttons (drag): pan
Left, right, up, down key: pan
Left mouse button (hold): magnifier zoom
Z key, select key: toggle magnifier zoom
Mouse wheel, plus and minus keys: zoom in/out
Known issues
=============
- Night mode is not working, error message: "QPainter::setCompositionMode: Blend modes not supported on device" (probably PyQt issue, as it works in C++)
- Viewport is not restricted (relevant on low zoom levels)