166 |
|
|
167 |
# Get the size of the specific property for this |
# Get the size of the specific property for this |
168 |
# point |
# point |
169 |
if shapetype == SHAPETYPE_POINT: |
if shapetype == SHAPETYPE_POINT and field is not None: |
170 |
value = table.ReadValue(shape.ShapeID(), field) |
value = table.ReadValue(shape.ShapeID(), field) |
171 |
group = lc.FindGroup(value) |
group = lc.FindGroup(value) |
172 |
size = group.GetProperties().GetSize() |
size = group.GetProperties().GetSize() |
268 |
self.shifty = (mmaxy - mminy)*0.5 - (ury - lly)*0.5 |
self.shifty = (mmaxy - mminy)*0.5 - (ury - lly)*0.5 |
269 |
|
|
270 |
self.offset = (offx+self.shiftx, offy+self.shifty) |
self.offset = (offx+self.shiftx, offy+self.shifty) |
271 |
|
self.region = (llx + self.shiftx, lly + self.shifty, urx, ury) |
272 |
|
|
273 |
# Draw the map |
# Draw the map |
274 |
self.dc.BeginDrawing() |
self.dc.BeginDrawing() |