mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-02 19:56:39 +02:00
Add frame icon, ridge, scree, rock.
This commit is contained in:
parent
4fe7707118
commit
ff333e83a3
3 changed files with 7841 additions and 7696 deletions
|
@ -38,8 +38,11 @@ colors:
|
||||||
primary_border_color: "888888" # "AA8800"
|
primary_border_color: "888888" # "AA8800"
|
||||||
primary_color: "FFFFFF" # "FFDD66"
|
primary_color: "FFFFFF" # "FFDD66"
|
||||||
private_access_color: "884444"
|
private_access_color: "884444"
|
||||||
|
ridge_color: "000000"
|
||||||
road_border_color: "CCCCCC"
|
road_border_color: "CCCCCC"
|
||||||
|
rock_color: "DDDDDD"
|
||||||
sand_color: "F0E0D0"
|
sand_color: "F0E0D0"
|
||||||
|
scree_color: "CCCCCC"
|
||||||
water_color: "AACCFF"
|
water_color: "AACCFF"
|
||||||
water_border_color: "6688BB"
|
water_border_color: "6688BB"
|
||||||
wood_color: "B8CC84"
|
wood_color: "B8CC84"
|
||||||
|
@ -255,6 +258,10 @@ tags:
|
||||||
icon: [gift]
|
icon: [gift]
|
||||||
- tags: {shop: watches}
|
- tags: {shop: watches}
|
||||||
icon: [watches]
|
icon: [watches]
|
||||||
|
- tags: {craft: watchmaker}
|
||||||
|
icon: [watches]
|
||||||
|
- tags: {shop: frame}
|
||||||
|
icon: [frame]
|
||||||
|
|
||||||
# Place of worship
|
# Place of worship
|
||||||
|
|
||||||
|
@ -583,6 +590,15 @@ ways:
|
||||||
stroke: water_border_color
|
stroke: water_border_color
|
||||||
stroke-width: 1
|
stroke-width: 1
|
||||||
layer: 21
|
layer: 21
|
||||||
|
- tags: {natural: ridge}
|
||||||
|
stroke-width: 2
|
||||||
|
opacity: 0.3
|
||||||
|
stroke: ridge_color
|
||||||
|
layer: 21
|
||||||
|
- tags: {natural: bare_rock}
|
||||||
|
fill: rock_color
|
||||||
|
- tags: {natural: scree}
|
||||||
|
fill: scree_color
|
||||||
|
|
||||||
- tags: {landuse: grass}
|
- tags: {landuse: grass}
|
||||||
fill: grass_color
|
fill: grass_color
|
||||||
|
|
15513
icons/icons.svg
15513
icons/icons.svg
File diff suppressed because it is too large
Load diff
Before Width: | Height: | Size: 425 KiB After Width: | Height: | Size: 431 KiB |
8
roentgen/util.py
Normal file
8
roentgen/util.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
class MinMax:
|
||||||
|
def __init__(self):
|
||||||
|
self.min_ = None
|
||||||
|
self.max_ = None
|
||||||
|
|
||||||
|
def add(self, value):
|
||||||
|
self.min_ = value if not self.min_ or value < self.min_ else self.min_
|
||||||
|
self.max_ = value if not self.max_ or value > self.max_ else self.max_
|
Loading…
Add table
Reference in a new issue