Skip to content

v0.2.52..v0.2.53 changeset PoiMergerJs.cpp

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-js/src/main/cpp/hoot/js/conflate/merging/PoiMergerJs.cpp b/hoot-js/src/main/cpp/hoot/js/conflate/merging/PoiMergerJs.cpp
index df79bd5..4af6758 100644
--- a/hoot-js/src/main/cpp/hoot/js/conflate/merging/PoiMergerJs.cpp
+++ b/hoot-js/src/main/cpp/hoot/js/conflate/merging/PoiMergerJs.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #include "PoiMergerJs.h"
 
@@ -56,7 +56,7 @@ void PoiMergerJs::mergePois(OsmMapPtr map, const ElementId& mergeTargetId, Isola
   std::shared_ptr<PluginContext> script(new PluginContext());
   v8::HandleScope handleScope(current);
   v8::Context::Scope context_scope(script->getContext(current));
-  script->loadScript(ConfPath::search("PoiGeneric.js", "rules"), "plugin");
+  script->loadScript(ConfPath::search("Poi.js", "rules"), "plugin");
   v8::Handle<v8::Object> global = script->getContext(current)->Global();
   if (global->Has(String::NewFromUtf8(current, "plugin")) == false)
   {
Clone this wiki locally