RubyFlow The Ruby and Rails community linklog

Google Maps + Places Autocomplete with Rails, Turbolinks & Stimulus.js

Google Maps has not played well with Rails and Turbolinks. Using Stimulus.js, we can make it work seamlessly using custom events in Javascript to tie the two together allowing us to add maps and location search autocomplete from Google Maps extremely easily. Watch the screencast

Comments

Please create solution with OSM maps as well.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in