Download logo

This commit is contained in:
Pieter Vander Vennet 2020-11-15 03:22:41 +01:00
parent 7ef2f429f2
commit 1bd5411071
3 changed files with 11 additions and 3 deletions

View file

@ -37,7 +37,7 @@ export default class DirectionInput extends InputElement<string> {
console.log("Inner render direction")
return new Combine([
Svg.direction_svg().SetStyle(
`position: absolute;top: 0;left: 0;width: 100%;height: 100%;rotategs:${this.value.data}deg;`)
`position: absolute;top: 0;left: 0;width: 100%;height: 100%;rotate:${this.value.data}deg;`)
.SetClass("direction-svg"),
Svg.compass_svg().SetStyle(
"position: absolute;top: 0;left: 0;width: 100%;height: 100%;")

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
width="300" height="300">
<rect stroke="#333" fill="#FFF" rx="9"
x="7" y="7" width="286" height="286"/>
<path fill="#000" d="m20,169 28-8 15,53-28,8zm11-40
220-63 32,112-180,52zm112-122h30v77l-31,9z"/>
</svg>

After

Width:  |  Height:  |  Size: 287 B

View file

@ -17,7 +17,7 @@
"nl"
],
"maintainer": "",
"icon": "https://upload.wikimedia.org/wikipedia/commons/b/b7/Video_surveillance_logo.svg",
"icon": "./assets/themes/surveillance_cameras/logo.svg",
"version": "0",
"startLat": 0,
"startLon": 0,
@ -277,7 +277,7 @@
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "https://upload.wikimedia.org/wikipedia/commons/b/b7/Video_surveillance_logo.svg"
"render": "./assets/themes/surveillance_cameras/logo.svg"
},
"width": {
"render": "8"