k5map
12 August 2025 07:06
1
I looked at the gauge in DBv2 but do not see a way to use this to create a compass. Does anyone know of a compass node/widget which has been developed for DBv2?
Colin
12 August 2025 07:57
2
Try this ui-template implementation developed by @hotNipi
Fixed couple more things, now it animates, takes short way to rotate over 0/360 like real life things do.
Possibly I'll leave it for now as is.
Hided code from previous post. Use this, it is better.
<template>
<div class="windrose">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="100%" height="100%" viewBox="0 0 500 493">
<g>
<circle cx="250" cy="247" r="205" class="ring" />
<g>
<line class="s…
2 Likes
k5map
12 August 2025 08:09
3
That’s a great compass, thanks!
k5map
12 August 2025 08:15
4
I read the link you provided but unclear about one thing… which widget do I paste the template info in the post in order to display the compass?
k5map
12 August 2025 08:20
5
Ignore my previous post… I was using the wrong template widget