Issue #121: add show overlapped option.

This commit is contained in:
Sergey Vartanov 2022-04-03 23:25:03 +03:00
parent e85e98e92c
commit 7c99d828f4
2 changed files with 8 additions and 0 deletions

View file

@ -56,6 +56,7 @@ class MapConfiguration:
ignore_level_matching: bool = False
draw_roofs: bool = True
use_building_colors: bool = False
show_overlapped: bool = False
@classmethod
def from_options(
@ -75,6 +76,7 @@ class MapConfiguration:
options.ignore_level_matching,
options.roofs,
options.building_colors,
options.show_overlapped,
)
def is_wireframe(self) -> bool:

View file

@ -201,6 +201,12 @@ def add_map_arguments(parser: argparse.ArgumentParser) -> None:
action=argparse.BooleanOptionalAction,
default=False,
)
parser.add_argument(
"--show-overlapped",
help="show hidden nodes with a dot",
action=argparse.BooleanOptionalAction,
default=False,
)
def add_tile_arguments(parser: argparse.ArgumentParser) -> None: