aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/MapTypes.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store/MapTypes.js')
-rw-r--r--web/app/store/MapTypes.js38
1 files changed, 17 insertions, 21 deletions
diff --git a/web/app/store/MapTypes.js b/web/app/store/MapTypes.js
index 3caf117ec..4c26ad451 100644
--- a/web/app/store/MapTypes.js
+++ b/web/app/store/MapTypes.js
@@ -13,26 +13,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function () {
- 'use strict';
- Ext.define('Traccar.store.MapTypes', {
- extend: 'Ext.data.Store',
- fields: ['key', 'name'],
+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
+ }]
+});