1 |
|
2003-06-17 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
Backport from HEAD. |
4 |
|
|
5 |
|
The view should respond to layer projection |
6 |
|
changed events to update the display. Changes to a projection |
7 |
|
should not cause the map to be set to full extent. |
8 |
|
|
9 |
|
* Thuban/UI/view.py (MapCanvas.__init__): New instance variable |
10 |
|
current_map_proj to remember the current map projection so that |
11 |
|
when the projection changes we know what the previous projection |
12 |
|
was. |
13 |
|
(MapCanvas.SetMap): Unsubscribe and subscribe to |
14 |
|
LAYER_PROJECTION_CHANGED events. |
15 |
|
(MapCanvas.projection_changed): Split into two methods that respond |
16 |
|
to map and layer projection changes. |
17 |
|
(MapCanvas.map_projection_changed): New. Takes the current view and |
18 |
|
projects it using the new projection. This does not cause the |
19 |
|
map to be redrawn at full extent. |
20 |
|
(MapCanvas.layer_projection_changed): New. Cause a redraw which |
21 |
|
will draw each layer in its new projection. |
22 |
|
|
23 |
2003-06-16 Frank Koormann <[email protected]> |
2003-06-16 Frank Koormann <[email protected]> |
24 |
|
|
25 |
Fix problem of hidden properties dialog under windows after double |
Fix problem of hidden properties dialog under windows after double |