apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

2.x defaults to no map type controls #338

Closed steveo7 closed 10 years ago

steveo7 commented 11 years ago

2.x sets mapTypeControl to null which causes the default to be no Map | Satellite buttons. This is a change from 1.x Assuming this was unintended, the following line can be commented out to revert back to 1.x behavior.
https://github.com/apneadiving/Google-Maps-for-Rails/blob/master/vendor/assets/javascripts/gmaps4rails/google/objects/map.coffee#L13