ruby on rails - Customize mapTypeControlOptions with gmaps4rails gem -


Is it possible to customize the way the map options are displayed on Google Maps?

It seems there is an option in the API using an mapTypeControlOptions with an array of mapTypeIDs . apneadiving Thanks for the development of this awesome gem !!!

You can add any option, enables Google Maps. Doctor:

If you lack a few choices for maps and markers, then you can just pass on what you want: raw:

  & lt;% = Gmaps (: markers = & gt; {data = & gt; @ jason; option =>;: raw = & gt; '{animation: google.maps .Animation.BOUNCE} '}} ,: map_options => {: Raw => {' disableDefaultUI: true, scroll-beel: wrong} '})% & gt;    

Comments