formatd/geoindexable
composer require formatd/geoindexable
Service for fetching geo-information for addresses in Neos Flow projects (using nominatim/openstreatmap and geonames api)
v2.0.0
- Requires
- neos/flow: ^5.0 || ^6.0 || ^7.0 || ^8.0
- flowpack/elasticsearch: >=2.0
- Suggest
- neos/neos: This Package provides a GeoIndexable Mixin for Neos (NOT YET BUT SOON)
FormatD.GeoIndexable
Service for fetching geo-information for addresses in Neos Flow projects. By default, it uses the nominatim/openstreatmap and geonames API, but you can use Google API, too.
What does it do?
This package provides a service class for geo-indexing addresses. Also a php trait to use in domain models is contained. This trait can be used to create a domain model that automatically fetches the geo location when the address is changed.
Configuration
Provide the geonames username (that you have to create on the geonames website) or deactivate the geonames api
FormatD:
GeoIndexable:
geoIndexService:
geonamesEnable: true
geonamesUsername: ''
In case you want to use the Google API, you have to provide your API Key
FormatD:
GeoIndexable:
geoIndexService:
googleApiKey: ''
The same vendor provides 12 package(s).