kopia lustrzana https://github.com/hholzgra/ocitysmap
only put shade on area outside the selected polygon when it is
an actual boundary polygon, not for simple bounding boxes (like we already did for single page renderers for quite a while)pull/21/head
rodzic
dbdf30c07b
commit
f93e2bb61e
|
|
@ -293,9 +293,10 @@ class MultiPageRenderer(Renderer):
|
|||
os.path.join(self.tmpdir, 'grid%d.shp' % i))
|
||||
|
||||
map_canvas.add_shape_file(shade)
|
||||
map_canvas.add_shape_file(shade_contour,
|
||||
self.rc.stylesheet.shade_color_2,
|
||||
self.rc.stylesheet.shade_alpha_2)
|
||||
if self.rc.osmid != None:
|
||||
map_canvas.add_shape_file(shade_contour,
|
||||
self.rc.stylesheet.shade_color_2,
|
||||
self.rc.stylesheet.shade_alpha_2)
|
||||
map_canvas.add_shape_file(grid_shape,
|
||||
self.rc.stylesheet.grid_line_color,
|
||||
self.rc.stylesheet.grid_line_alpha,
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue