diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-08 17:28:30 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-08 17:28:30 +0500 |
commit | 03c7abe38d7d4852e80630d9f3f2124387f65d2c (patch) | |
tree | 6864f4f447023a1f85ea969b394a7942a01f7949 /web/app/store/DeviceImages.js | |
parent | dbd7cb8ca62dd7fbc62fbfb9ccc16fc4b8a08d64 (diff) | |
download | trackermap-web-03c7abe38d7d4852e80630d9f3f2124387f65d2c.tar.gz trackermap-web-03c7abe38d7d4852e80630d9f3f2124387f65d2c.tar.bz2 trackermap-web-03c7abe38d7d4852e80630d9f3f2124387f65d2c.zip |
- Make icon inner space transparent
- Use array of fillId
- Make default icon consistent with other
- Use bare arrow for route markers
Diffstat (limited to 'web/app/store/DeviceImages.js')
-rw-r--r-- | web/app/store/DeviceImages.js | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/web/app/store/DeviceImages.js b/web/app/store/DeviceImages.js index e7ad4cbc..ba91575a 100644 --- a/web/app/store/DeviceImages.js +++ b/web/app/store/DeviceImages.js @@ -20,18 +20,26 @@ Ext.define('Traccar.store.DeviceImages', { fields: ['key', 'name', 'svg', 'fillId', 'rotateId', 'scaleId', 'scale'], data: [{ - key: 'default', + key: 'route', name: Strings.categoryDefault, - svg: document.getElementById('arrowSvg').contentDocument, + svg: document.getElementById('routeSvg').contentDocument, fillId: 'arrow', rotateId: 'arrow', scaleId: 'arrow', scale: 1 }, { + key: 'default', + name: Strings.categoryDefault, + svg: document.getElementById('defaultSvg').contentDocument, + fillId: ['arrow', 'path4148'], + rotateId: 'layer2', + scaleId: 'layer2', + scale: 1 + }, { key: 'car', name: Strings.categoryCar, svg: document.getElementById('carSvg').contentDocument, - fillId: 'path4148', + fillId: ['path4148', 'path4157'], rotateId: 'path4148', scaleId: 'layer2', scale: 1 @@ -39,7 +47,7 @@ Ext.define('Traccar.store.DeviceImages', { key: 'bus', name: Strings.categoryBus, svg: document.getElementById('busSvg').contentDocument, - fillId: 'path4148', + fillId: ['path4148', 'path4200'], rotateId: 'path4148', scaleId: 'layer2', scale: 1 @@ -47,7 +55,7 @@ Ext.define('Traccar.store.DeviceImages', { key: 'truck', name: Strings.categoryTruck, svg: document.getElementById('truckSvg').contentDocument, - fillId: 'path4148', + fillId: ['path4148', 'path4336'], rotateId: 'path4148', scaleId: 'layer2', scale: 1 |