mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-05 20:31:51 +02:00
Refactor flinger.
Element drawing module was using flinger for Mercator projection, which is not exactly what is wanted.
This commit is contained in:
parent
77c8ec0044
commit
c0879bff36
9 changed files with 90 additions and 62 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue