el-schneider / statamic-simple-address
Statamic的简单自动完成下拉菜单
v0.0.4-alpha
2023-06-03 20:09 UTC
Requires
- php: ^8.0
- statamic/cms: ^3.0|^4.0
This package is auto-updated.
Last update: 2024-09-03 22:51:01 UTC
README
Statamic Simple Address如其名,提供了一个简单易用的地址自动完成功能。
- 它使用开源的Nominatim地理编码服务,因此无需设置API密钥。
- 它还默认从API中移除许多字段,以保持简单性。
数据
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"
感谢
- Matt Rothenberg为其在Statamic Mapbox Address上的工作所做的贡献
- Nominatim提供了出色的服务