xushiting 3 年之前
父節點
當前提交
432f383eac
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      main.js

+ 2 - 2
main.js

@@ -93669,8 +93669,8 @@ and limitations under the License.
            var t = this;
            var t = this;
            this.clearSearchResults(),
            this.clearSearchResults(),
            this.PoiService.routeStart && this.PoiService.routeEnd && (this.UrlService.addRouteParameters(this.PoiService.routeStart, this.PoiService.routeEnd),
            this.PoiService.routeStart && this.PoiService.routeEnd && (this.UrlService.addRouteParameters(this.PoiService.routeStart, this.PoiService.routeEnd),
-           //this.RouteService.findRoute(this.PoiService.routeStart.globalLocation, this.PoiService.routeEnd.globalLocation).then((function(e) {
-           this.RouteService.findRoute(this.PoiService.routeStart.location, this.PoiService.routeEnd.location).then((function(e) {
+           this.RouteService.findRoute(this.PoiService.routeStart.globalLocation, this.PoiService.routeEnd.globalLocation).then((function(e) {
+           //this.RouteService.findRoute(this.PoiService.routeStart.location, this.PoiService.routeEnd.location).then((function(e) {
                t.PoiService.wasRouteFound = e.instructions.length > 0,
                t.PoiService.wasRouteFound = e.instructions.length > 0,
                t.PoiService.poisChanged.emit(),
                t.PoiService.poisChanged.emit(),
                s.isMobileBrowser() && r.blurActiveElement()
                s.isMobileBrowser() && r.blurActiveElement()