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
Post a Comment