diff options
author | Abyss777 <abyss@fox5.ru> | 2017-03-29 12:06:49 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-03-29 12:06:49 +0500 |
commit | 9bed98677f78feabb89b58f72584bf1a7db87e60 (patch) | |
tree | 3cb9fdf55865f26c14f1cb0031b10fc33868e34e /web/app/view | |
parent | 8523cf92c8ef566ec28b9a759c81f4a86957c11e (diff) | |
download | etbsa-traccar-web-9bed98677f78feabb89b58f72584bf1a7db87e60.tar.gz etbsa-traccar-web-9bed98677f78feabb89b58f72584bf1a7db87e60.tar.bz2 etbsa-traccar-web-9bed98677f78feabb89b58f72584bf1a7db87e60.zip |
Fix check
Diffstat (limited to 'web/app/view')
-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 d16e6ca..6b06ae9 100644 --- a/web/app/view/map/GeofenceMap.js +++ b/web/app/view/map/GeofenceMap.js @@ -65,7 +65,7 @@ Ext.define('Traccar.view.map.GeofenceMap', { map = this.map; this.features = new ol.Collection(); - if (this.area !== '') { + if (this.area) { geometry = Traccar.GeofenceConverter.wktToGeometry(this.mapView, this.area); this.features.push(new ol.Feature(geometry)); this.mapView.fit(geometry); |