Geocoder icon indicating copy to clipboard operation
Geocoder copied to clipboard

Added support of Google Place Autocomplete:

Open gdw96 opened this issue 4 years ago • 3 comments

  • Add buildPlaceAutocompleteQuery, parseMatchedSubstrings, parseStructuredFormatting and parseTerms methods to GoogleMapsPlaces.php.
  • Add classes GooglePlaceAutocomplete and StructuredFormatting(result of autocompleted queries).
  • Edit fetchURL method for Google Place Autocomplete (response are different).
  • Edit README.md for document the new GeocodeQuery mode.
  • Add testGeocodePlaceAutocompleteMode method to GooglePlaceTest.php. Test pass with success (and tested in a Symfony application successfully).

Hi,

I needed to use Google Place Autocomplete and noticed it wasn't supported, so I set out to add it.

Thank's

gdw96 avatar May 06 '21 16:05 gdw96

Thanks a lot for your contribution @gdw96 !

First things first, could you make your PR pass the StyleCI test ?

I'll review it ASAP.

jbelien avatar May 07 '21 07:05 jbelien

Hi @jbelien,

Of course, I didn't have time yesterday, I'm correcting it today.

gdw96 avatar May 07 '21 09:05 gdw96

@jbelien Done

gdw96 avatar May 07 '21 10:05 gdw96