39 |
forwarded_channels = (CHANGED, |
forwarded_channels = (CHANGED, |
40 |
LAYER_PROJECTION_CHANGED, |
LAYER_PROJECTION_CHANGED, |
41 |
LAYER_LEGEND_CHANGED, |
LAYER_LEGEND_CHANGED, |
42 |
|
LAYER_CHANGED, |
43 |
LAYER_VISIBILITY_CHANGED) |
LAYER_VISIBILITY_CHANGED) |
44 |
|
|
45 |
def __init__(self, title, projection = None): |
def __init__(self, title, projection = None): |
186 |
bbox = self.projection.ForwardBBox(bbox) |
bbox = self.projection.ForwardBBox(bbox) |
187 |
return bbox |
return bbox |
188 |
|
|
189 |
|
def GetProjection(self): |
190 |
|
return self.projection |
191 |
|
|
192 |
def SetProjection(self, projection): |
def SetProjection(self, projection): |
193 |
"""Set the projection of the map. |
"""Set the projection of the map. |
194 |
|
|