aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-29 12:06:49 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-29 12:06:49 +0500
commit9bed98677f78feabb89b58f72584bf1a7db87e60 (patch)
tree3cb9fdf55865f26c14f1cb0031b10fc33868e34e /web
parent8523cf92c8ef566ec28b9a759c81f4a86957c11e (diff)
downloadtrackermap-web-9bed98677f78feabb89b58f72584bf1a7db87e60.tar.gz
trackermap-web-9bed98677f78feabb89b58f72584bf1a7db87e60.tar.bz2
trackermap-web-9bed98677f78feabb89b58f72584bf1a7db87e60.zip
Fix check
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 d16e6ca1..6b06ae98 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);