Is it possible to customize how the map options are displayed on the google map?
It seems this is an option in the API using mapTypeControlOptions
wiht an array of mapTypeIDs
.
Thanks to apneadiving for developing this awesome gem!!!
Is it possible to customize how the map options are displayed on the google map?
It seems this is an option in the API using mapTypeControlOptions
wiht an array of mapTypeIDs
.
Thanks to apneadiving for developing this awesome gem!!!
You can add any option google map enables. From the doc here:
If you lack some options for maps and markers, you can simply pass what you need in :raw:
<%= gmaps(:markers => {:data => @json, :options => { :raw => '{ animation: google.maps.Animation.BOUNCE }' } },
:map_options => { :raw => '{ disableDefaultUI: true, scrollwheel: false }' }) %>