Skip to content

location search

Adam edited this page Feb 22, 2023 · 1 revision

design

  • make a rest request to a geocoding server
  • put the response into a listview model
  • once selected, fly there
geocoding is the name for going from place name -> lat / long

not all services allow for autocompletion (i.e., osm Nominatim does not)

service providers

  • osmnames (free, but needs setup)
  • positionstack (paid, needs registration, free for small number of requests)
  • google api
  • nominatim (osm, no auto completion, but links to several others. nominatim might be usable for a demo)
  • locationiq (commercial, but def autocomplete, and seems to be a nice api. maybe better for demo)
Clone this wiki locally