diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-07 00:53:01 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-07 00:53:01 -0600 |
commit | 8164e6b30e007a3eeaea25decf98ccb098d9e85f (patch) | |
tree | 332aa2d38bc0f3c3ae3f1001909624e041573428 /modern/src/map/Map.js | |
parent | a273d60becc5ccc9e4626325ea2dca20271b36bc (diff) | |
download | etbsa-traccar-web-8164e6b30e007a3eeaea25decf98ccb098d9e85f.tar.gz etbsa-traccar-web-8164e6b30e007a3eeaea25decf98ccb098d9e85f.tar.bz2 etbsa-traccar-web-8164e6b30e007a3eeaea25decf98ccb098d9e85f.zip |
Changed stuff
Diffstat (limited to 'modern/src/map/Map.js')
-rw-r--r-- | modern/src/map/Map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js index dcf5a92..a5f69e0 100644 --- a/modern/src/map/Map.js +++ b/modern/src/map/Map.js @@ -49,7 +49,7 @@ const initMap = async () => { await Promise.all(deviceCategories.map(async (category) => { const results = []; ['green', 'red', 'gray'].forEach((color) => { - results.push(loadImage(`images/icon/${category}.svg`).then((icon) => { + results.push(loadImage(`images/icon/${category}.png`).then((icon) => { map.addImage(`${category}-${color}`, prepareIcon(background, icon, palette.common[color]), { pixelRatio: window.devicePixelRatio, }); |