mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-28 17:57:11 +02:00
Fix indoor preview.
This commit is contained in:
parent
5019303ef9
commit
1baf08de22
4 changed files with 4 additions and 4 deletions
|
@ -110,7 +110,7 @@ Japanese maps usually use [special symbols](https://en.wikipedia.org/wiki/List_o
|
|||
Draw indoor features specifying level with `--level` option. Possible values are numbers (e.g. `1`, `0.5`), lists of number separated by `;` (e.g. `1;2;4;4.5`), `all`, `overground`, and `underground`. Default value is not `all`, but `overground`, so underground objects are not shown on the map if `--level` option is not specified.
|
||||
|
||||
```shell
|
||||
map-machine render -c 4.597,-74.075 -s 600,400 -z 19.5 --level 0
|
||||
map-machine render -c 4.5978,-74.07507 -s 600,400 -z 19.5 --level 0
|
||||
```
|
||||
|
||||

|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 114 KiB |
|
@ -121,7 +121,7 @@ Japanese maps usually use \ref {https://en.wikipedia.org/wiki/List_of_Japanese_m
|
|||
|
||||
Draw indoor features specifying level with \m {--level} option. Possible values are numbers (e.g. \m {1}, \m {0.5}), lists of number separated by \m {;} (e.g. \m {1;2;4;4.5}), \m {all}, \m {overground}, and \m {underground}. Default value is not \m {all}, but \m {overground}, so underground objects are not shown on the map if \m {--level} option is not specified.
|
||||
|
||||
\code {shell} {map-machine render -c 4.597,-74.075 -s 600,400 -z 19.5 --level 0}
|
||||
\code {shell} {map-machine render -c 4.5978,-74.07507 -s 600,400 -z 19.5 --level 0}
|
||||
|
||||
\image {doc/indoor.svg} {Indoor}
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ def main(id_: str) -> None:
|
|||
|
||||
if id_ is None or id_ == "indoor":
|
||||
draw_around_point(
|
||||
np.array((4.597, -74.075)),
|
||||
np.array((4.5978, -74.07507)),
|
||||
"indoor",
|
||||
configuration=MapConfiguration(SCHEME, zoom_level=19.5, level="0"),
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue