Address search
Build a responsive address picker with autocomplete, place detail and a map preview.
Autocomplete as the user types, reuse one session token, resolve only the selected suggestion, then show the result on the map.
Recommended flow
Autocomplete as the user types, reuse one session token, resolve only the selected suggestion, then show the result on the map.
Ship the first useful version
Start with one happy path, explicit loading and empty states, and a visible retry action. Add caching, analytics and advanced filtering only after the core result is reliable.
Production checklist
Restrict the API key, validate user input, preserve longitude/latitude order, handle zero results, test Thai and English labels, and keep MapScale attribution visible.