aboutsummaryrefslogtreecommitdiff
path: root/web/app
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/app
parenteda73a4305647e60ea3b06cd76cfa0a78dc0d3fd (diff)
downloadtrackermap-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.tar.gz
trackermap-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.tar.bz2
trackermap-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.zip
Remove unused variable
Diffstat (limited to 'web/app')
-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 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]
});