aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/view/map/BaseMap.js2
-rw-r--r--web/app/view/map/MapMarkerController.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index 42ea43a..c089ad0 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -218,7 +218,7 @@ Ext.define('Traccar.view.map.BaseMap', {
}
});
- this.map.once('postrender', function (event) {
+ this.map.once('postrender', function () {
self.fireEvent('mapready');
});
},
diff --git a/web/app/view/map/MapMarkerController.js b/web/app/view/map/MapMarkerController.js
index 2ef4c3a..15b1aec 100644
--- a/web/app/view/map/MapMarkerController.js
+++ b/web/app/view/map/MapMarkerController.js
@@ -107,11 +107,11 @@ Ext.define('Traccar.view.map.MapMarkerController', {
image: new ol.style.Circle({
radius: 6,
fill: new ol.style.Fill({
- color: '#3399CC',
+ color: '#3399CC'
}),
stroke: new ol.style.Stroke({
color: '#fff',
- width: 2,
+ width: 2
})
})
}));