Giter VIP home page Giter VIP logo

Comments (5)

flibbertigibbet avatar flibbertigibbet commented on June 2, 2024

Partially addressed by #191, although now the bounding box has been extended, some unlikely/distant suggestions sometimes pop up first.

from cac-tripplanner.

CloudNiner avatar CloudNiner commented on June 2, 2024

You could try a center and radius instead, so that it prefers closer destinations? But, that has other potential issues.

from cac-tripplanner.

flibbertigibbet avatar flibbertigibbet commented on June 2, 2024

Yeah, been playing with that, and found that it only works without the search extent parameter, although the documentation seems to imply they can be used together.

from cac-tripplanner.

jbranigan avatar jbranigan commented on June 2, 2024

This is working better than before. We used to be able to search by business names, too, but that seems to have gone away. Also, getting Texas addresses... let's tune this a bit.

from cac-tripplanner.

flibbertigibbet avatar flibbertigibbet commented on June 2, 2024

Due to an open issue with ESRI's suggestion service, it is not possible to specify both a bounding box and a location from which to preferentially sort places by distance. It's supposed to be fixed in a release this summer. So, if the user's current location is found, that's used to sort by distance... you shouldn't see anything distant, unless there's nothing nearer found.

I disabled the POIs after I discovered that not only was it going to result in duplicate responses for all of our featured locations, for which we have our own autocomplete source, but many of them had totally wrong locations, despite being Philadelphia addresses (would move the map to somewhere in the ocean off Hawaii, etc.). Maybe we can limit to sub-categories that don't overlap and have accurate results. After adding postal addresses as a separate category, a lot of the suggested place names seemed to work pretty well.

from cac-tripplanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.