- Added support for Google Geocoding API
- Added events to register your own geocoding service
- Added support for geocoding Craft Address elements
- Fixed the map showing a blank screen when no coordinates could be found
- Better error catching on Nomanatim errors (#39)
- Fields now respect wether geocoding is enabled or not (#38)
- Finished Craft 5 release
- Fixed missing return statement in AddressFieldModel
- Moved getDirectionsUrl from the twig function to the field model and added deprecation notice
- Improved the position of the map in the field and added an extra label #36
- Improved the position of the map in the field and added an extra label #36
- Fixed return type in GraphQL resolver
- Fixed return type on feedme field class
- Fixed an issue with the geolocation service
- Added parameters to isEmpty check
- Fixed an issue with empty state where custom validators could not make the field required (#33)
- Now compatible with giggsey/locale 2.0 or higher
- Craft 4 🚀
- Added support for PHP 8
- Small fix to better catch multiple types of Nomanatim results (#29)
- Fixed an error with geolocating when some sub-fields are disabled (#26)
- The plugin now uses OpenStreetMaps for all geocoding requests so you no longer need a Google API key for those requests.
- Small bugfix in the field settings layout
- Allow the address country to be empty
- Fixed an issue with upgrading from StatikAddress when fields were inside a Matrix field
- Added placeholder functions for lat & long so upgrades don't crash but just show deprecation warnings
- Countries that don't have a translation in the current locale will fall back to English now
- Countries are now sorted aphabetically by name, not by country code
- The countries list is now returns in the locale of the site or the cp.
- Added
formatted()
function to the address model to make it easier to print the entrie address in 1 go.
- Fixed an error with GraphQL support when the field was added to more than 1 section.
- Country names are now returns in the site's locale by default, instead of just in English.
- Fixed an issue where API keys from environment variable weren't parsed in static maps urls
- Added support for Craft's native GraphQL API.
- Fixed an error when creating singles with the field through a migration/console request
- Added a setting for a second Google API key, which is only used for non-geocoding request, to get around Google's API restrictions
- Added support for craftcms/feed-me so you can import addresses
- You can now use an environment variable for the Google API key
- Added a migration for StatikAddress fields on install. Settings & content are migrated to EasyAddressField
- Only get do getCountryName() for fields which actually have a country
- Field data can now be added and view in element overviews
- Field data is now fully searchable, both on the CP and through twig
- Address fields that are set as required now validated properly when they are empty
- GraphQL support! The now also works in your GraphQL queries
- Added getCountryName() to get the full name of the country selected in the field
- Don't redirect to settings when installing through command line
- Fixed a small possible error when installing the plugin on 3.1
- Small fixes to field layout when different fields are selected
- Fixed an issue where the selected country value wasn't displayed after save
- Added better logging and error handling related to Google API responses.
- Fixed an issue with the country field when it was hidden in the field options
- Fixed an issue with the country field not being clickable in some field layouts
- Scale option to static map variable
- Initial release.