/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/map.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/map.py

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

revision 882 by jonathan, Fri May 9 16:34:28 2003 UTC revision 931 by jonathan, Tue May 20 15:23:18 2003 UTC
# Line 157  class Map(TitledObject, Modifiable): Line 157  class Map(TitledObject, Modifiable):
157          for layer in self.layers:          for layer in self.layers:
158              if layer is self.label_layer:              if layer is self.label_layer:
159                  continue                  continue
160              # the layer's bbox may be None if it doesn't have any layers              # the layer's bbox may be None if it doesn't have any shapes
161              bbox = layer.LatLongBoundingBox()              bbox = layer.LatLongBoundingBox()
162              if bbox is not None:              if bbox is not None:
163                  left, bottom, right, top = bbox                  left, bottom, right, top = bbox

Legend:
Removed from v.882  
changed lines
  Added in v.931

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26