diff options
author | tsmgeek <tsmgeek@gmail.com> | 2017-08-17 22:56:51 +0100 |
---|---|---|
committer | tsmgeek <tsmgeek@gmail.com> | 2017-08-17 22:56:51 +0100 |
commit | 2dbf091c950606c6f7f852fa2b7a9a71b6496433 (patch) | |
tree | 16ff4ceb687a1a5be5cc66a1e732cf2d6daf91dc /web/app/GeofenceConverter.js | |
parent | f8b4b7da1b5c1e394707b8ba11ec9879ffe20398 (diff) | |
download | trackermap-web-2dbf091c950606c6f7f852fa2b7a9a71b6496433.tar.gz trackermap-web-2dbf091c950606c6f7f852fa2b7a9a71b6496433.tar.bz2 trackermap-web-2dbf091c950606c6f7f852fa2b7a9a71b6496433.zip |
optimise ifthenelse & foreach loops
Diffstat (limited to 'web/app/GeofenceConverter.js')
-rw-r--r-- | web/app/GeofenceConverter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/GeofenceConverter.js b/web/app/GeofenceConverter.js index 0abefbce..ce529b1f 100644 --- a/web/app/GeofenceConverter.js +++ b/web/app/GeofenceConverter.js @@ -20,7 +20,7 @@ Ext.define('Traccar.GeofenceConverter', { wktToGeometry: function (mapView, wkt) { var geometry, projection, resolutionAtEquator, pointResolution, resolutionFactor, points = [], center, radius, - content, i, lat, lon, coordinates; + content, i, lat, lon, coordinates; if (wkt.lastIndexOf('POLYGON', 0) === 0) { content = wkt.match(/\([^\(\)]+\)/); if (content !== null) { |