151 |
layer.UnsetModified() |
layer.UnsetModified() |
152 |
self.label_layer.UnsetModified() |
self.label_layer.UnsetModified() |
153 |
|
|
154 |
|
def TreeInfo(self): |
155 |
|
items = [] |
156 |
|
if self.BoundingBox() != None: |
157 |
|
items.append("Extent (lat-lon): (%g, %g, %g, %g)" |
158 |
|
% self.BoundingBox()) |
159 |
|
if self.projection and len(self.projection.params) > 0: |
160 |
|
items.append("Extent (projected): (%g, %g, %g, %g)" |
161 |
|
% self.ProjectedBoundingBox()) |
162 |
|
items.append(("Projection", |
163 |
|
[str(param) for param in self.projection.params])) |
164 |
|
|
165 |
|
layers = self.layers[:] |
166 |
|
layers.reverse() |
167 |
|
items.extend(layers) |
168 |
|
|
169 |
|
return ("Map: %s" % self.title, items) |
170 |
|
|