reduce buffer to 1m
This commit is contained in:
parent
f167a72a49
commit
60f855d518
1 changed files with 2 additions and 2 deletions
|
@ -5,9 +5,9 @@ from c3nav.mapdata.utils.svg import SVGImage
|
|||
|
||||
|
||||
def render_svg(level, miny, minx, maxy, maxx, scale=1):
|
||||
svg = SVGImage(bounds=((miny, minx), (maxy, maxx)), scale=scale, buffer=2)
|
||||
svg = SVGImage(bounds=((miny, minx), (maxy, maxx)), scale=scale, buffer=1)
|
||||
|
||||
within_coords = (minx-2, miny-2, maxx+2, maxy+2)
|
||||
within_coords = (minx-1, miny-1, maxx+1, maxy+1)
|
||||
bbox = box(*within_coords)
|
||||
|
||||
render_level_data = get_render_level_data(level)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue