el-schneider/statamic-simple-address

A simple automcomplete dropdown for Statamic

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Vue

Type:statamic-addon

v0.0.4-alpha 2023-06-03 20:09 UTC

This package is auto-updated.

Last update: 2024-09-03 22:51:01 UTC


README

Statamic Simple Address does what is says. It gives you an address autocomplete with simplicity in mind.

  • It uses the Open Source Nominatim geocoding service, so there is no need to set-up an API-Key.
  • It also strips a lot of fields from the API by default, as it tries to keep things simple

Data

simple_address_field:
  label: "City of London, Greater London, England, United Kingdom"
  lat: "51.5156177"
  lon: "-0.0919983"
  display_name: "City of London, Greater London, England, United Kingdom"
  type: administrative
  address:
    city: "City of London"
    ISO3166-2-lvl6: GB-LND
    state_district: "Greater London"
    state: England
    ISO3166-2-lvl4: GB-ENG
    country: "United Kingdom"
    country_code: gb
  namedetails:
    name: "City of London"
    alt_name: "The City"
    ISO3166-2: GB-LND
    short_name: London
    official_name: "City and County of the City of London"

Thanks to