Closed steveo7 closed 10 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
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