ruby on rails - How to add overlay to Google map via ajax call -


working gmaps4rails , rails 3.2 , trying add overlay on top of google maps when user clicks checkbox "show radius" , circle show on map radius around user's location.

i know how create js callbacks tied google map created via gmaps4rails, how retrieve map dom within rails controller itself?

presumably, i'd call "showcircle" function within .js.erb template or similar.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -