浏览代码

Add some more kinds of lane markings

master
Fen Dweller 4 年前
父节点
当前提交
9fbad70574
共有 7 个文件被更改,包括 44 次插入3 次删除
  1. +3
    -0
      media/attribution.js
  2. +12
    -0
      media/buildings/road-markings/broken-line.svg
  3. +1
    -1
      media/buildings/road-markings/compact-parking-space.svg
  4. +1
    -1
      media/buildings/road-markings/crosswalk.svg
  5. +14
    -0
      media/buildings/road-markings/dotted-line.svg
  6. +9
    -0
      media/buildings/road-markings/line.svg
  7. +4
    -1
      presets/buildings.js

+ 3
- 0
media/attribution.js 查看文件

@@ -1122,6 +1122,9 @@ const attributionData = {
files: [
{ name: "compact-parking-space.svg", source: null },
{ name: "crosswalk.svg", source: null },
{ name: "line.svg", source: null },
{ name: "broken-line.svg", source: null },
{ name: "dotted-line.svg", source: null },
],
authors: [
"chemicalcrux"


+ 12
- 0
media/buildings/road-markings/broken-line.svg 查看文件

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.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 42 5000" style="enable-background:new 0 0 42 5000;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:33.333;stroke-miterlimit:10;}
</style>
<g>
<rect width="42" height="1000"/>
<rect y="4000" width="42" height="1000"/>
</g>
</svg>

+ 1
- 1
media/buildings/road-markings/compact-parking-space.svg 查看文件

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.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"
width="833.33" height="1616.67" viewBox="0 0 833.33 1616.67" style="enable-background:new 0 0 833.33 1616.67;" xml:space="preserve">
viewBox="0 0 833.33 1616.67" style="enable-background:new 0 0 833.33 1616.67;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:33.333;stroke-miterlimit:10;}
</style>


+ 1
- 1
media/buildings/road-markings/crosswalk.svg 查看文件

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.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"
width="1000" height="2625" viewBox="0 0 1000 2625" style="enable-background:new 0 0 1000 2625;" xml:space="preserve">
viewBox="0 0 1000 2625" style="enable-background:new 0 0 1000 2625;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:33.333;stroke-miterlimit:10;}
</style>


+ 14
- 0
media/buildings/road-markings/dotted-line.svg 查看文件

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.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 42 3900" style="enable-background:new 0 0 42 3900;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:33.333;stroke-miterlimit:10;}
</style>
<g>
<rect width="42" height="300"/>
<rect y="1200" width="42" height="300"/>
<rect y="2400" width="42" height="300"/>
<rect y="3600" width="42" height="300"/>
</g>
</svg>

+ 9
- 0
media/buildings/road-markings/line.svg 查看文件

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.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 42 2000" style="enable-background:new 0 0 42 2000;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:33.333;stroke-miterlimit:10;}
</style>
<rect width="42" height="2000"/>
</svg>

+ 4
- 1
presets/buildings.js 查看文件

@@ -156,7 +156,10 @@ function makeBuildings() {
makeHeight(
[
["compact-parking-space", 16 + 4/12, "feet"],
["crosswalk", 26.25, "feet"]
["crosswalk", 26.25, "feet"],
["line", 26.25, "feet"],
["broken-line", 50, "feet"],
["dotted-line", 39, "feet"],
],
"Road Markings",
"",


正在加载...
取消
保存