Closed aklofas closed 2 years ago
Example of the implementation
Hello, @aklofas!
Wow, this is just wonderful! Thank you for the request.
Yeah some of the code is messy. This was just a proposal to get the ball rolling on a possible implementation. It's clear that to get this feature implemented right, we'll need:
Overall this a great project and I'm still poking around the code understanding everything you've done. A lot of hard creative work went into this and it really shows!
Yeah, the list is almost what I have in mind on this issue. And I think there is a more challenging task to get rid of overlapping between labels by moving them along the lines.
^_^ Thank you very much for such a review! This is really motivating!
Hello, @aklofas,
I would really like to merge this request and continue to improve labels for ways. Could you please fix code style, so that I can do that?
The easiest way is to
pip install black flake8
,black -l 80 map_machine
(it will fix code style automatically),flake8 --max-line-length=80 --ignore=E203,W503 map_machine
(it will list some code style errors),Thank you!
Include calculations to repeat road names for long roads