Allow including the earth's curvature in paths
This commit is contained in:
parent
3237fe5d84
commit
077ce8bf35
2 changed files with 7 additions and 0 deletions
|
@ -104,6 +104,7 @@ in
|
||||||
pathStyle = {
|
pathStyle = {
|
||||||
weight = 10;
|
weight = 10;
|
||||||
color = "purple";
|
color = "purple";
|
||||||
|
geodesic = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
6
path.nix
6
path.nix
|
@ -24,6 +24,11 @@ let
|
||||||
type = colorType;
|
type = colorType;
|
||||||
default = "blue";
|
default = "blue";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
geodesic = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -86,6 +91,7 @@ in
|
||||||
[
|
[
|
||||||
"weight:${toString path.style.weight}"
|
"weight:${toString path.style.weight}"
|
||||||
"color:${path.style.color}"
|
"color:${path.style.color}"
|
||||||
|
"geodesic:${lib.boolToString path.style.geodesic}"
|
||||||
]
|
]
|
||||||
++ builtins.map attrForLocation path.locations;
|
++ builtins.map attrForLocation path.locations;
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue