aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/DeviceImages.js64
1 files changed, 32 insertions, 32 deletions
diff --git a/web/app/store/DeviceImages.js b/web/app/store/DeviceImages.js
index 64a78556..efe8606a 100644
--- a/web/app/store/DeviceImages.js
+++ b/web/app/store/DeviceImages.js
@@ -17,12 +17,12 @@
*/
Ext.define('Traccar.store.DeviceImages', {
extend: 'Ext.data.Store',
- fields: ['key', 'name', 'svg', 'fillId', 'rotateId', 'scaleId', 'scale'],
+ fields: ['key', 'name', 'svg', 'fillId', 'rotateId', 'scaleId'],
data: [{
- key: 'route',
- name: Strings.categoryRoute,
- svg: document.getElementById('routeSvg').contentDocument,
+ key: 'arrow',
+ name: Strings.categoryArrow,
+ svg: document.getElementById('arrowSvg').contentDocument,
fillId: 'arrow',
rotateId: 'arrow',
scaleId: 'arrow'
@@ -30,64 +30,64 @@ Ext.define('Traccar.store.DeviceImages', {
key: 'default',
name: Strings.categoryDefault,
svg: document.getElementById('defaultSvg').contentDocument,
- fillId: ['path4148', 'path4149'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'car',
name: Strings.categoryCar,
svg: document.getElementById('carSvg').contentDocument,
- fillId: ['path4148', 'path4157'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'bus',
name: Strings.categoryBus,
svg: document.getElementById('busSvg').contentDocument,
- fillId: ['path4148', 'path4200'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'truck',
name: Strings.categoryTruck,
svg: document.getElementById('truckSvg').contentDocument,
- fillId: ['path4148', 'path4336'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'ship',
name: Strings.categoryShip,
svg: document.getElementById('shipSvg').contentDocument,
- fillId: ['path4148', 'path4177'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'plane',
name: Strings.categoryPlane,
svg: document.getElementById('planeSvg').contentDocument,
- fillId: ['path4148', 'path4203'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'motorcycle',
name: Strings.categoryMotorcycle,
svg: document.getElementById('motorcycleSvg').contentDocument,
- fillId: ['path4148', 'path4256'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'bicycle',
name: Strings.categoryBicycle,
svg: document.getElementById('bicycleSvg').contentDocument,
- fillId: ['path4148', 'path4282'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}, {
key: 'person',
name: Strings.categoryPerson,
svg: document.getElementById('personSvg').contentDocument,
- fillId: ['path4148', 'path4308'],
- rotateId: 'path4148',
- scaleId: 'layer2'
+ fillId: 'path4724',
+ rotateId: 'path4724',
+ scaleId: 'layer1'
}]
-}); \ No newline at end of file
+});