Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Fix clipping on icons
Russ Garrett6e10fe3b254c
diff --git a/web/src/icons/converter.svg b/web/src/icons/converter.svgindex 8b2eb82..d8b888e 100644--- a/web/src/icons/converter.svg+++ b/web/src/icons/converter.svg@@ -1,26 +1,15 @@-<?xml version="1.0" encoding="UTF-8"?>+<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">- <g id="Layer_1">- <g>- <path d="M12.5,23.529 C6.377,23.529 1.413,18.578 1.413,12.471 C1.413,6.363 6.377,1.412 12.5,1.412 C18.623,1.412 23.587,6.363 23.587,12.471 C23.587,18.578 18.623,23.529 12.5,23.529 z" fill="#FFFFFF"/>- <path d="M12.5,23.529 C6.377,23.529 1.413,18.578 1.413,12.471 C1.413,6.363 6.377,1.412 12.5,1.412 C18.623,1.412 23.587,6.363 23.587,12.471 C23.587,18.578 18.623,23.529 12.5,23.529 z" fill-opacity="0" stroke="#000000" stroke-width="1.8"/>+<svg width="100%" height="100%" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">+ <g transform="matrix(1,0,0,1,0.5,0.313814)">+ <g id="Layer_1">+ <g>+ <g transform="matrix(1,0,0,1,-0.5,-0.284314)">+ <path d="M12.5,23.529C6.377,23.529 1.413,18.578 1.413,12.471C1.413,6.363 6.377,1.412 12.5,1.412C18.623,1.412 23.587,6.363 23.587,12.471C23.587,18.578 18.623,23.529 12.5,23.529Z" style="fill:white;fill-rule:nonzero;"/>+ <path d="M12.5,23.529C6.377,23.529 1.413,18.578 1.413,12.471C1.413,6.363 6.377,1.412 12.5,1.412C18.623,1.412 23.587,6.363 23.587,12.471C23.587,18.578 18.623,23.529 12.5,23.529Z" style="fill-opacity:0;fill-rule:nonzero;stroke:black;stroke-width:1.8px;"/>+ </g>+ <path d="M4.078,20.886L20.848,4.056" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:0.72px;"/>+ </g>+ </g></g>- <path d="M4.078,20.886 L20.848,4.056" fill-opacity="0" stroke="#000000" stroke-width="0.72"/>- </g>- <g id="ACDC" display="none">- <path d="M5.398,8.106 L5.398,8.106" fill-opacity="0" stroke="#000000" stroke-width="1.2"/>- <path d="M0.5,0.5 L0.5,0.5" fill-opacity="0" stroke="#000000" stroke-width="1.2"/>- <path d="M6.448,6.816 L6.448,6.816" fill-opacity="0" stroke="#000000" stroke-width="1.2"/>- <path d="M12.658,8.409 C12.496,9.649 11.63,10.704 10.363,10.704 C9.095,10.704 8.305,9.861 8.068,8.709 C7.812,7.467 7.04,6.414 5.773,6.414 C4.505,6.414 3.616,7.429 3.478,8.709" fill-opacity="0" stroke="#000000" stroke-width="0.72" stroke-linecap="round"/>- <path d="M12.658,15.255 L20.331,15.255" fill-opacity="0" stroke="#000000" stroke-width="0.72"/>- <path d="M12.658,17.055 L20.331,17.055" fill-opacity="0" stroke="#000000" stroke-width="0.72" stroke-dasharray="1.44,0.72"/>- </g>- <g id="ACAC" display="none">- <path d="M5.398,8.106 L5.398,8.106" fill-opacity="0" stroke="#000000" stroke-width="1.2"/>- <path d="M0.5,0.5 L0.5,0.5" fill-opacity="0" stroke="#000000" stroke-width="1.2"/>- <path d="M6.448,6.816 L6.448,6.816" fill-opacity="0" stroke="#000000" stroke-width="1.2"/>- <path d="M12.658,8.409 C12.496,9.649 11.63,10.704 10.363,10.704 C9.095,10.704 8.305,9.861 8.068,8.709 C7.812,7.467 7.04,6.414 5.773,6.414 C4.505,6.414 3.616,7.429 3.478,8.709" fill-opacity="0" stroke="#000000" stroke-width="0.72" stroke-linecap="round"/>- <path d="M20.848,17.309 C20.686,18.55 19.82,19.604 18.553,19.604 C17.285,19.604 16.495,18.761 16.258,17.609 C16.002,16.368 15.23,15.314 13.963,15.314 C12.695,15.314 11.806,16.33 11.668,17.609" fill-opacity="0" stroke="#000000" stroke-width="0.72" stroke-linecap="round"/>- </g></svg>diff --git a/web/src/icons/power_pole.svg b/web/src/icons/power_pole.svgindex 3c8619d..8b58f98 100644--- a/web/src/icons/power_pole.svg+++ b/web/src/icons/power_pole.svg@@ -1,11 +1,12 @@-<?xml version="1.0" encoding="UTF-8"?>+<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="10" height="10" viewBox="0, 0, 10, 10">- <g id="Layer_1">- <path d="M5.5,9.969 C3.032,9.969 1.031,7.968 1.031,5.5 C1.031,3.032 3.032,1.031 5.5,1.031 C7.968,1.031 9.969,3.032 9.969,5.5 C9.969,7.968 7.968,9.969 5.5,9.969 z" fill="#775211"/>- <g>- <path d="M5.5,9.969 C3.032,9.969 1.031,7.968 1.031,5.5 C1.031,3.032 3.032,1.031 5.5,1.031 C7.968,1.031 9.969,3.032 9.969,5.5 C9.969,7.968 7.968,9.969 5.5,9.969 z" fill="#775211"/>- <path d="M5.5,9.969 C3.032,9.969 1.031,7.968 1.031,5.5 C1.031,3.032 3.032,1.031 5.5,1.031 C7.968,1.031 9.969,3.032 9.969,5.5 C9.969,7.968 7.968,9.969 5.5,9.969 z" fill-opacity="0" stroke="#000000" stroke-width="1"/>+<svg width="100%" height="100%" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">+ <g transform="matrix(1,0,0,1,-0.5,-0.5)">+ <g id="Layer_1">+ <g>+ <path d="M5.5,9.969C3.032,9.969 1.031,7.968 1.031,5.5C1.031,3.032 3.032,1.031 5.5,1.031C7.968,1.031 9.969,3.032 9.969,5.5C9.969,7.968 7.968,9.969 5.5,9.969Z" style="fill:rgb(119,82,17);fill-rule:nonzero;"/>+ <path d="M5.5,9.969C3.032,9.969 1.031,7.968 1.031,5.5C1.031,3.032 3.032,1.031 5.5,1.031C7.968,1.031 9.969,3.032 9.969,5.5C9.969,7.968 7.968,9.969 5.5,9.969Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(46,46,46);stroke-width:1px;"/>+ </g>+ </g></g>- </g></svg>diff --git a/web/src/icons/power_transformer.svg b/web/src/icons/power_transformer.svgindex d7878ce..ab3897d 100644--- a/web/src/icons/power_transformer.svg+++ b/web/src/icons/power_transformer.svg@@ -1,16 +1,18 @@-<?xml version="1.0" encoding="UTF-8"?>+<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="14.173" height="22.11" viewBox="0, 0, 14.173, 22.11">- <g id="Layer_1">- <g>- <path d="M7.625,22 C3.966,22 1,19.034 1,15.375 C1,11.716 3.966,8.75 7.625,8.75 C11.284,8.75 14.25,11.716 14.25,15.375 C14.25,19.034 11.284,22 7.625,22 z" fill="#FFFFFF"/>- <path d="M7.625,22 C3.966,22 1,19.034 1,15.375 C1,11.716 3.966,8.75 7.625,8.75 C11.284,8.75 14.25,11.716 14.25,15.375 C14.25,19.034 11.284,22 7.625,22 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>+<svg width="100%" height="100%" viewBox="0 0 15 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">+ <g id="Layer_1" transform="matrix(1,0,0,1,0.4135,-0.055)">+ <g transform="matrix(1,0,0,1,-0.5385,-0.601)">+ <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill:white;fill-rule:nonzero;"/>+ <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>+ </g>+ <g transform="matrix(1,0,0,1,-0.5385,-0.601)">+ <path d="M7.625,14.562C3.966,14.562 1,11.596 1,7.938C1,4.279 3.966,1.312 7.625,1.312C11.284,1.312 14.25,4.279 14.25,7.938C14.25,11.596 11.284,14.562 7.625,14.562Z" style="fill:white;fill-rule:nonzero;"/>+ <path d="M7.625,14.562C3.966,14.562 1,11.596 1,7.938C1,4.279 3.966,1.312 7.625,1.312C11.284,1.312 14.25,4.279 14.25,7.938C14.25,11.596 11.284,14.562 7.625,14.562Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>+ </g>+ <g transform="matrix(1,0,0,1,-0.5385,-0.601)">+ <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill:white;fill-opacity:0;fill-rule:nonzero;"/>+ <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>+ </g></g>- <g>- <path d="M7.625,14.562 C3.966,14.562 1,11.596 1,7.938 C1,4.279 3.966,1.312 7.625,1.312 C11.284,1.312 14.25,4.279 14.25,7.938 C14.25,11.596 11.284,14.562 7.625,14.562 z" fill="#FFFFFF"/>- <path d="M7.625,14.562 C3.966,14.562 1,11.596 1,7.938 C1,4.279 3.966,1.312 7.625,1.312 C11.284,1.312 14.25,4.279 14.25,7.938 C14.25,11.596 11.284,14.562 7.625,14.562 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>- </g>- <path d="M10.288,2.188" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>- <path d="M7.625,22 C3.966,22 1,19.034 1,15.375 C1,11.716 3.966,8.75 7.625,8.75 C11.284,8.75 14.25,11.716 14.25,15.375 C14.25,19.034 11.284,22 7.625,22 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>- </g></svg>