studioespresso / craft-easyaddressfield

Easy Address Field is the easiest way to add an address to your entries. Enable the fields you want for the address, automatically get the coordinates for an address and place the marker exactly where you want it.
https://plugins.craftcms.com/easy-address-field
Other
3 stars 3 forks source link

geoLocation component with capital L #34

Closed HannahDeWachter closed 1 year ago

HannahDeWachter commented 1 year ago

In your setComponents funtion in the EasyAddressField.php you need to change "geolocation" to "geoLocation" (with a capital L).

$this->setComponents([
     'field' => FieldService::class,
     'geoLocation' => GeoLocationService::class,
     'countries' => CountriesService::class
]);
janhenckens commented 1 year ago

Fixed.