1 |
|
2003-05-08 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
Coding style updates |
4 |
|
|
5 |
|
* test/test_scalebar.py: Replaced tab indentation by spaces. |
6 |
|
|
7 |
|
* Thuban/UI/scalebar.py: Explicit imports. |
8 |
|
|
9 |
|
2003-05-08 Frank Koormann <[email protected]> |
10 |
|
|
11 |
|
* Thuban/UI/scalebar.py |
12 |
|
(ScaleBar.DrawScalebar): Format string bug fixed. |
13 |
|
|
14 |
|
2003-05-08 Frank Koormann <[email protected]> |
15 |
|
|
16 |
|
Reorganization of scalebar component (no wx in Thuban/Model) |
17 |
|
|
18 |
|
* Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py |
19 |
|
(deriveInterval): |
20 |
|
Calculate scalebar interval and unit which fits in width for scale. |
21 |
|
(roundInterval): Round float. |
22 |
|
|
23 |
|
* Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering |
24 |
|
|
25 |
|
* test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods. |
26 |
|
|
27 |
|
* Thuban/UI/legend.py: Import Thuban.UI.scalebar |
28 |
|
|
29 |
|
2003-05-08 Frank Koormann <[email protected]> |
30 |
|
|
31 |
|
* Thuban/UI/legend.py (ScalebarBitmap.SetCanvas): |
32 |
|
Initialize ScaleBar with canvas.map |
33 |
|
|
34 |
|
* Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New, |
35 |
|
round intervals to display smarter lengths |
36 |
|
(ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a |
37 |
|
layer. If the maps has no projection applied grey the scalebar. |
38 |
|
|
39 |
2003-05-07 Frank Koormann <[email protected]> |
2003-05-07 Frank Koormann <[email protected]> |
40 |
|
|
41 |
Basic Scalebar features added. |
Basic Scalebar features added. |