google maps locator with symfony and jQuery

< back to Home | see a demo

So, you want to search some items in your database and display nice results in a google map. You can find all you need, below.
Templates are missing: you can take inspiration from demo HTML source (note: you'll need 2 templates: e.g. indexSuccess.php and indexSuccess.json.php, the latter to display json encoded data)
Also, form is missing: you can do whatever you want, adding all the fields you need, according with your model.
Radius search is, of course, optional: you can simply get rid of it.
You can also customize your appeareance in google maps, altering javascript code in proper way.

schema

Model

schema

Model

Controller

Javascript