如何将手势处理:'cooperative' 添加到 rails 的 gmaps?

How do I add gestureHandling: 'cooperative' to gmaps for rails?

如何使用 gmaps for railsgestureHandling: 'cooperative' 添加到地图?

你试过JS Methods section of the docs了吗?

像这样的东西应该可以工作:

var handler = Gmaps.build('Google');
handler.buildMap({
    internal: { id: 'map' },
    provider: {
      gestureHandling: 'cooperative'
    }
  },
  function(){ }
);