I have an app with multiple marker in a Rails3 application using gmaps4rails.
The map is loaded initially with all the markers but I have a filter fields on the page which I would like the user to filter different things which are stored in the db for the markers.
How to I trigger the map to call the controller with the parameters which would return a new json object, which I would then put in Gmaps4Rails.replaceMarkers function?
I'm using JQuery so it would probably be best to trigger this behavior from Jquery code.
Regards, Johann