From cf9943fb3ef32906fd8b6300b167426e00caf7af Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 15 Jun 2021 20:56:16 -0700 Subject: Remove unused variable --- web/app/view/map/GeofenceMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app') diff --git a/web/app/view/map/GeofenceMap.js b/web/app/view/map/GeofenceMap.js index 347b1a9f..cc1b7efe 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] }); -- cgit v1.2.3