From a4d24ce32e6376dce3416b1446391eabb74b6bc8 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 17 Jan 2018 13:51:03 +0500 Subject: Implement POI layer --- web/app/model/Server.js | 5 ++++- web/app/model/User.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'web/app/model') diff --git a/web/app/model/Server.js b/web/app/model/Server.js index da1618bf..795bd609 100644 --- a/web/app/model/Server.js +++ b/web/app/model/Server.js @@ -1,5 +1,5 @@ /* - * Copyright 2015 Anton Tananaev (anton@traccar.org) + * Copyright 2015 - 2018 Anton Tananaev (anton@traccar.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -61,6 +61,9 @@ Ext.define('Traccar.model.Server', { }, { name: 'coordinateFormat', type: 'string' + }, { + name: 'poiLayer', + type: 'string' }, { name: 'attributes' }], diff --git a/web/app/model/User.js b/web/app/model/User.js index 42b4fa70..5232c9f4 100644 --- a/web/app/model/User.js +++ b/web/app/model/User.js @@ -1,5 +1,5 @@ /* - * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.org) + * Copyright 2015 - 2018 Anton Tananaev (anton@traccar.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -80,6 +80,9 @@ Ext.define('Traccar.model.User', { }, { name: 'limitCommands', type: 'boolean' + }, { + name: 'poiLayer', + type: 'string' }, { name: 'token', type: 'string' -- cgit v1.2.3