Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

The geoGetCoors method does not use the Google API-key in requests #107

Description

@fl0pp

It seems like this project is dead, but I use it in an old project that is still running.
I found a bug in the API-call to Google in the geoGetCoords method. It does not use the API-key provided by Google in it's API-calls.

I edited line 2648 to the following:

$_url = sprintf('https://%s/maps/api/geocode/json?sensor=%s&address=%s&key=%s', $this->lookup_server['GOOGLE'], $this->mobile==true?"true":"false", rawurlencode($address), $this->api_key);

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