inline the google maps pin svg

This commit is contained in:
Jakob Ketterl
2021-05-16 17:30:34 +02:00
parent 8a54ef4cd0
commit a04f198ade
5 changed files with 12 additions and 16 deletions

View File

@@ -180,6 +180,7 @@ PacketMessagePanel.prototype.pushMessage = function(msg) {
}
} else if (msg.lat && msg.lon) {
classes.push('openwebrx-maps-pin');
overlay = '<svg viewBox="0 0 20 35"><use xlink:href="static/gfx/svg-defs.svg#maps-pin"></use></svg>';
}
var attrs = [
'class="' + classes.join(' ') + '"',