diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-18 12:04:59 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-18 12:04:59 +1200 |
commit | a3a1990d95b3162ecd404610d176e2cb0bccde3b (patch) | |
tree | 70a33b3c9d55d985cf242b027896b2d38919688c /web/app/store | |
parent | d4e4948bfce5b088f505ff9c89dd8baad34ed16c (diff) | |
download | trackermap-server-a3a1990d95b3162ecd404610d176e2cb0bccde3b.tar.gz trackermap-server-a3a1990d95b3162ecd404610d176e2cb0bccde3b.tar.bz2 trackermap-server-a3a1990d95b3162ecd404610d176e2cb0bccde3b.zip |
Fix map types class formatting
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/MapTypes.js | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/web/app/store/MapTypes.js b/web/app/store/MapTypes.js index fbdc49acc..5f83940c9 100644 --- a/web/app/store/MapTypes.js +++ b/web/app/store/MapTypes.js @@ -17,10 +17,18 @@ Ext.define('Traccar.store.MapTypes', { extend: 'Ext.data.Store', fields: ['key', 'name'], - data: [ - {'key': 'osm', 'name': strings.mapOsm}, - {'key': 'bingRoad', 'name': strings.mapBingRoad}, - {'key': 'bingAerial', 'name': strings.mapBingAerial}, - {'key': 'custom', 'name': strings.mapCustom}, - ] + + data: [{ + key: 'osm', + name: strings.mapOsm + }, { + key: 'bingRoad', + name: strings.mapBingRoad + }, { + key: 'bingAerial', + name: strings.mapBingAerial + }, { + key: 'custom', + name: strings.mapCustom + }] }); |