Search code examples
ruby-on-railsruby-on-rails-3google-maps-api-3gmaps4rails

How to set MarkerOptions in gmaps4rails (optimized = false)?


My custom icons in gmaps4rails are not displaying correctly. I need to set MarkerOptions to optimized = false:

https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions

I have looked at the documentation for gmaps4rails but I can't seem to find the correct place to set this option. Any ideas?

Johann


Solution

  • You can put whatever option you desire as documented here.

    Simply use the raw key.