diff options
author | Abyss777 <abyss@fox5.ru> | 2017-06-20 16:23:56 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-06-20 16:23:56 +0500 |
commit | 37bc67c9ff80e143b86e3823b8e423683b373f72 (patch) | |
tree | 2cc6b16091bd09a8a90feae91ed4b2f4184f7007 /src/org/traccar | |
parent | 98ba0e282a64ecddb7bb8f1b2075b5bab0ef3eac (diff) | |
download | trackermap-server-37bc67c9ff80e143b86e3823b8e423683b373f72.tar.gz trackermap-server-37bc67c9ff80e143b86e3823b8e423683b373f72.tar.bz2 trackermap-server-37bc67c9ff80e143b86e3823b8e423683b373f72.zip |
Do revers geocoding after filtering
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index 0997e6f11..a6446dbaa 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -198,9 +198,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { pipeline.addLast("distance", distanceHandler); } - if (geocoderHandler != null) { - pipeline.addLast("geocoder", geocoderHandler); - } pipeline.addLast("remoteAddress", new RemoteAddressHandler()); addDynamicHandlers(pipeline); @@ -209,6 +206,10 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { pipeline.addLast("filter", filterHandler); } + if (geocoderHandler != null) { + pipeline.addLast("geocoder", geocoderHandler); + } + if (motionHandler != null) { pipeline.addLast("motion", motionHandler); } |