mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-02 08:09:57 +02:00
Issue #62: refactor MapCSS generation.
This commit is contained in:
parent
886f041a41
commit
253f59d878
6 changed files with 74 additions and 58 deletions
|
@ -15,7 +15,7 @@ import svgwrite
|
|||
from roentgen import server, tile
|
||||
from roentgen.constructor import Constructor
|
||||
from roentgen.flinger import Flinger
|
||||
from roentgen.grid import draw_icons, write_mapcss
|
||||
from roentgen.grid import draw_icons
|
||||
from roentgen.icon import ShapeExtractor
|
||||
from roentgen.mapper import (
|
||||
AUTHOR_MODE,
|
||||
|
@ -219,6 +219,7 @@ if __name__ == "__main__":
|
|||
elif options.command == "icons":
|
||||
draw_icons()
|
||||
elif options.command == "mapcss":
|
||||
from roentgen.mapcss import write_mapcss
|
||||
write_mapcss()
|
||||
elif options.command == "element":
|
||||
draw_element(options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue