Refactor flinger.

Element drawing module was using flinger for Mercator projection, which
is not exactly what is wanted.
This commit is contained in:
Sergey Vartanov 2022-09-02 23:56:55 +03:00
parent 77c8ec0044
commit c0879bff36
9 changed files with 90 additions and 62 deletions

View file

@ -55,7 +55,7 @@ TIME_COLOR_SCALE: list[Color] = [
def line_center(
nodes: list[OSMNode], flinger: Flinger
) -> (np.ndarray, np.ndarray):
) -> tuple[np.ndarray, np.ndarray]:
"""
Get geometric center of nodes set.