Git Product home page Git Product logo

Comments (5)

garaud avatar garaud commented on September 23, 2024

200ms between which action? Just type a letter in the search input form.

Another idea, it's to allow the autocompletion with a minimum number of letter, 3 or 4 for instance.

from french_locator_filter.

Niarolf avatar Niarolf commented on September 23, 2024

A timer between the end of user writing and api request sending in order to avoid send query which will not be use by qgis or the user.

from french_locator_filter.

haubourg avatar haubourg commented on September 23, 2024

In fact, the Nominatim plugin disallows autocompletion calls, and in this version, the user has to type on the space bar to trigger a search. It is also allowed to search only with string longer than 3 characters.
This is not especially easy to use. I prefer the idea of triggering a call only when typing is idle for more than 200ms.

from french_locator_filter.

haubourg avatar haubourg commented on September 23, 2024

Another idea, it's to allow the autocompletion with a minimum number of letter, 3 or 4 for instance.

we already limit to 2 letters before triggering the search. We can raise to 3 if needed.
Adding a timer is not so trivial given that this the search are threaded. I didn't find any built-in method at this point in QGIS classes.

from french_locator_filter.

delhomer avatar delhomer commented on September 23, 2024

The project is being migrated. The discussion can be pursued at https://gitlab.com/Oslandia/qgis/french_locator_filter/-/issues/1

from french_locator_filter.

Related Issues (2)

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.