aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-15 20:56:16 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-15 20:56:16 -0700
commitcf9943fb3ef32906fd8b6300b167426e00caf7af (patch)
treecc40902238c0453bb56580ef6e2d8bdca1aca519 /web
parenteda73a4305647e60ea3b06cd76cfa0a78dc0d3fd (diff)
downloadetbsa-traccar-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.tar.gz
etbsa-traccar-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.tar.bz2
etbsa-traccar-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.zip
Remove unused variable
Diffstat (limited to 'web')
-rw-r--r--web/app/view/map/GeofenceMap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/map/GeofenceMap.js b/web/app/view/map/GeofenceMap.js
index 347b1a9..cc1b7ef 100644
--- a/web/app/view/map/GeofenceMap.js
+++ b/web/app/view/map/GeofenceMap.js
@@ -89,7 +89,7 @@ Ext.define('Traccar.view.map.GeofenceMap', {
if (this.area) {
geometry = Traccar.GeofenceConverter.wktToGeometry(mapView, this.area);
this.features.push(new ol.Feature(geometry));
- this.map.once('postrender', function (event) {
+ this.map.once('postrender', function () {
mapView.fit(geometry, {
padding: [20, 20, 20, 20]
});