Code Monkey home page Code Monkey logo

googlegeolocationbundle's People

Contributors

b3nelof0n avatar chrisixion avatar dallegoet avatar dotlabel-chris avatar dsyph3r avatar hugomn avatar jdeniau avatar plesiecki 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

Watchers

 avatar  avatar  avatar  avatar  avatar

googlegeolocationbundle's Issues

Adding extra parameters for the service

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!

README lacks description about cache setup

Just wonder when and how to setup the database table used for caching. I followed the instructions and got a Table 'google_geolocation_location' doesn't exist error. Could you add this please?

Thanks in advance for this and the bundle as a whole :)

Change "preUpdate" to "PreUpdate" in Google\GeolocationBundle\Entity\ApiLog

Please change "@Orm\preUpdate" to "@Orm\PreUpdate" in line 49 so that the bundle can work correctly in Linux installations.

As of now I get the error
"[Doctrine\Common\Annotations\AnnotationException]
[Semantical Error] The annotation "@doctrine\ORM\Mapping\preUpdate" in method Google\GeolocationBundle\Entity\ApiLog::setUpdatedValue() does not exist, or could not be auto-loaded."

in Linux whenever I run any of the doctrine console commands or my Symfony2 application.

See also: http://stackoverflow.com/questions/12735010/doctrine2-haslifecyclecallbacks-semantical-error/12736196#12736196

More documentation

Did have some problems to activate the cache. Can you provide more documentation. Thanx!

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.