aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/DeviceImages.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-08 16:01:59 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-08 16:01:59 +0500
commitdbd7cb8ca62dd7fbc62fbfb9ccc16fc4b8a08d64 (patch)
tree3da2c9dd90dfb851c04546e9f278b14346edd876 /web/app/store/DeviceImages.js
parent7aaa4418b81a9d7686969715198b4b639c263b79 (diff)
downloadtrackermap-web-dbd7cb8ca62dd7fbc62fbfb9ccc16fc4b8a08d64.tar.gz
trackermap-web-dbd7cb8ca62dd7fbc62fbfb9ccc16fc4b8a08d64.tar.bz2
trackermap-web-dbd7cb8ca62dd7fbc62fbfb9ccc16fc4b8a08d64.zip
Changed icon styles
Diffstat (limited to 'web/app/store/DeviceImages.js')
-rw-r--r--web/app/store/DeviceImages.js26
1 files changed, 15 insertions, 11 deletions
diff --git a/web/app/store/DeviceImages.js b/web/app/store/DeviceImages.js
index 22a7872f..e7ad4cbc 100644
--- a/web/app/store/DeviceImages.js
+++ b/web/app/store/DeviceImages.js
@@ -17,35 +17,39 @@
*/
Ext.define('Traccar.store.DeviceImages', {
extend: 'Ext.data.Store',
- fields: ['key', 'name', 'url', 'svg', 'fillId', 'rotateId', 'scale'],
+ fields: ['key', 'name', 'svg', 'fillId', 'rotateId', 'scaleId', 'scale'],
data: [{
key: 'default',
name: Strings.categoryDefault,
svg: document.getElementById('arrowSvg').contentDocument,
- rotateId: 'arrow',
fillId: 'arrow',
+ rotateId: 'arrow',
+ scaleId: 'arrow',
scale: 1
}, {
key: 'car',
name: Strings.categoryCar,
svg: document.getElementById('carSvg').contentDocument,
- fillId: 'path4149',
- rotateId: 'g4207',
- scale: 0.06,
+ fillId: 'path4148',
+ rotateId: 'path4148',
+ scaleId: 'layer2',
+ scale: 1
}, {
key: 'bus',
name: Strings.categoryBus,
svg: document.getElementById('busSvg').contentDocument,
- fillId: 'path4713',
- rotateId: 'layer2',
- scale: 0.12,
+ fillId: 'path4148',
+ rotateId: 'path4148',
+ scaleId: 'layer2',
+ scale: 1
}, {
key: 'truck',
name: Strings.categoryTruck,
svg: document.getElementById('truckSvg').contentDocument,
- fillId: 'path4718',
- rotateId: 'layer2',
- scale: 0.1,
+ fillId: 'path4148',
+ rotateId: 'path4148',
+ scaleId: 'layer2',
+ scale: 1
}]
}); \ No newline at end of file