mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-04 00:59:54 +02:00
Issue #47: add documentation.
This commit is contained in:
parent
20d753fb9f
commit
55a4b83dae
1 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
"""
|
||||
Tile generation.
|
||||
|
||||
See https://wiki.openstreetmap.org/wiki/Tiles
|
||||
"""
|
||||
import argparse
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
|
@ -19,6 +24,11 @@ from roentgen.util import MinMax
|
|||
|
||||
@dataclass
|
||||
class Tile:
|
||||
"""
|
||||
OpenStreetMap tile, square bitmap graphics displayed in a grid arrangement
|
||||
to show a map.
|
||||
"""
|
||||
|
||||
x: int
|
||||
y: int
|
||||
scale: int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue