railsでgoogle mapを使う際のマップのタッチ判定
サンプルを上げておく
<div style='width: 800px;'> <div id="map" style='width: 800px; height: 400px;'></div> </div> <script type="text/javascript"> handler = Gmaps.build('Google'); //以下でマップのタッチ判定 google.maps.event.addListener(handler.getMap(), 'click', function(e){ }); </script>