/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/view.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/view.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 822 by jonathan, Mon May 5 18:20:28 2003 UTC revision 824 by jonathan, Tue May 6 08:09:27 2003 UTC
# Line 529  class MapCanvas(wxWindow, Publisher): Line 529  class MapCanvas(wxWindow, Publisher):
529              proj = self.map.GetProjection()              proj = self.map.GetProjection()
530              if proj is not None:              if proj is not None:
531                  bbox = proj.ForwardBBox(bbox)                  bbox = proj.ForwardBBox(bbox)
532                  if bbox is not None:  
533                      self.FitRectToWindow(bbox)              if bbox is not None:
534                    self.FitRectToWindow(bbox)
535    
536      def ZoomFactor(self, factor, center = None):      def ZoomFactor(self, factor, center = None):
537          """Multiply the zoom by factor and center on center.          """Multiply the zoom by factor and center on center.

Legend:
Removed from v.822  
changed lines
  Added in v.824

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26