dsyph3r / googlegeolocationbundle Goto Github PK
View Code? Open in Web Editor NEWSymfony 2 Bundle for Google Geocoding API
Symfony 2 Bundle for Google Geocoding API
I want to use this Bundle in my application, but I use MongoDB.
Enabling cache gives errors.
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!
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 :)
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.
https://github.com/kriswallsmith/Buzz
This would remove your dependency on cURL.
Did have some problems to activate the cache. Can you provide more documentation. Thanx!
In line 163 you call the following: $location->isRequestAgainAllowed()
Where is this function defined, I get an error and thus think that this does not work.
What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.