Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
This repository was archived by the owner on Jul 28, 2022. It is now read-only.

Adding extra parameters for the service #15

Description

@byhoratiss

I need to add others parameters to the geocoding service, as explained in the documentation, like "region", "language", etc. https://developers.google.com/maps/documentation/geocoding/?hl=en#Geocoding

The code actually does not provide a method for this, as shows in the code:
https://github.com/dsyph3r/GoogleGeolocationBundle/blob/master/Geolocation/GeolocationApi.php#L254

I realize that the only choice i have to achieve this would be to override the "%google_geolocation.geolocation_api.class%" parameter, create my own class and extend the "Google\GeolocationBundle\Geolocation\GeolocationApi".

There is another elegant way of doing this?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions