Giter VIP home page Giter VIP logo

google-geocoder's People

Contributors

alexpechkarev avatar martinlindhe avatar mike-polatoglou avatar syrok avatar zak-perkins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

google-geocoder's Issues

Configs

Trying to test this package, I guess I am missing a step. I created the config file under the config directory based on the provided instructions. Somehow Laravel 5 is complaining about the config file.

Unresolvable dependency resolving [Parameter #0 [  $config ]] in class Alexpechkarev\GoogleGeocoder\GoogleGeocoder

Here is the controller function I have.

use Alexpechkarev\GoogleGeocoder\GoogleGeocoder;
-----
 public function DisplayAddress(GoogleGeocoder $request)
    {
        $value = $request->geocode('json', array("latlng"=>"40.714224,-73.961452"));

        return $value;
    }

Any idea?
Thanks.

Where to put the source files in laravel project directory?

Please describe where to put the source files in the laravel project directory.

Here is the error.

FatalErrorException in D:\Documents\Localhost\htdocs\finderkerala-fw\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php line 150:
Class 'Alexpechkarev\GoogleGeocoder\GoogleGeocoderServiceProvider' not found

Request over proxy

Hi Alex,
could you please add the possibility to use a proxy for the requests?
So adding a "proxy" to the config file would add it to the curlopt-Array.

Thanks :)

Error Accessing the facade

use Alexpechkarev\GoogleGeocoder\GoogleGeocoderServiceProvider;

$param = array("address"=>$request->input('address').' '.$request->input('city').' '.$request->input('state'));
$response = \Geocoder::geocode('json', $param);
return $response;

I get the error..

FatalErrorException in ProfileController.php line 49:
Class 'Geocoder' not found

How do I reference this class? Thanks

Laravel 5.4 support

You should replace deprecated share method with singleton in GoogleGeocoderServiceProvider.

$this->app['GoogleGeocoder'] = $this->app->share(function($app)

to

$this->app->singleton('GoogleGeocoder', function($app)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.