Browse Source

Add city blocks from Houston and Manhattan

tags/v0.1.0
Fen Dweller 5 years ago
parent
commit
e52e47d2eb
4 changed files with 40 additions and 0 deletions
  1. +10
    -0
      media/attribution.js
  2. +9
    -0
      media/buildings/city-blocks/houston.svg
  3. +9
    -0
      media/buildings/city-blocks/manhattan.svg
  4. +12
    -0
      presets/buildings.js

+ 10
- 0
media/attribution.js View File

@@ -1139,6 +1139,16 @@ const attributionData = {
"chemicalcrux"
]
},
{
prefix: "./media/buildings/city-blocks/",
files: [
{ name: "manhattan.svg", source: null },
{ name: "houston.svg", source: null },
],
authors: [
"chemicalcrux"
]
},
{
prefix: "./media/cities/",
files: [


+ 9
- 0
media/buildings/city-blocks/houston.svg View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 930 930" style="enable-background:new 0 0 930 930;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1A1A1A;}
</style>
<rect class="st0" width="930" height="930"/>
</svg>

+ 9
- 0
media/buildings/city-blocks/manhattan.svg View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 744.9 1418.2" style="enable-background:new 0 0 744.9 1418.2;" xml:space="preserve">
<style type="text/css">
.st0{fill:#191919;stroke:#191919;stroke-miterlimit:10;}
</style>
<rect class="st0" width="744.9" height="1418.2"/>
</svg>

+ 12
- 0
presets/buildings.js View File

@@ -164,6 +164,18 @@ function makeBuildings() {
)
)

results.push(
makeHeight (
[
["manhattan", 141.8, "meters"],
["houston", 93, "meters"]
],
"City Blocks",
"",
"buildings"
)
)

results.sort((b1, b2) => {
e1 = b1.constructor();
e2 = b2.constructor();


Loading…
Cancel
Save