World Cities

FREEMIUM
Durch Andres Olvera | Aktualisiert 6 months ago | Location
Popularität

9.1 / 10

Latenz

5,369ms

Service Level

96%

Zurück zu allen Diskussionen

Curious about the API

Rapid account: Agnide 4
agnide4
3 years ago

Building an app where user input cities. Does this API suggest the cities while the user is typing?

Rapid account: Andruxnet
andruxnet Commented 3 years ago

Hi,

The API does not that itself, but you can use it to build your own, something like this: https://www.w3schools.com/howto/howto_js_autocomplete.asp

You can use the API to first find the cities by country and state, and use that list of cities as a source for your autocomplete component.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen
Bewertung: 5 - Stimmen: 1