World Cities

免费增值
通过 Andres Olvera | 已更新 13 days ago | Location
人气

9.2 / 10

延迟

580ms

服务等级

100%

Health Check

N/A

返回所有讨论

Curious about the API

Rapid account: Agnide 4
agnide4
4 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 4 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.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论