如何使用gmaps for rails将gestureHandling: 'cooperative'
添加到地图?
答案 0 :(得分:1)
您是否尝试过JS Methods section of the docs?
这样的事情应该有效:
var handler = Gmaps.build('Google');
handler.buildMap({
internal: { id: 'map' },
provider: {
gestureHandling: 'cooperative'
}
},
function(){ }
);