diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-15 20:56:16 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-15 20:56:16 -0700 |
commit | cf9943fb3ef32906fd8b6300b167426e00caf7af (patch) | |
tree | cc40902238c0453bb56580ef6e2d8bdca1aca519 /web | |
parent | eda73a4305647e60ea3b06cd76cfa0a78dc0d3fd (diff) | |
download | trackermap-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.tar.gz trackermap-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.tar.bz2 trackermap-web-cf9943fb3ef32906fd8b6300b167426e00caf7af.zip |
Remove unused variable
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/map/GeofenceMap.js | 2 |
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] }); |