title: Touch events for google maps on mobile
body: <p>In my app I am using google maps and I am creating locations on the maps once the user right clicks. I have this event doing the trick for me</p>
  
  <pre><code>google.maps.event.addListener(map, 'rightclick', function (e) {
      if (checkDistance(e.latLng)) {
          if (viewModel.haveRolesToDoStuffOnProjectLevel()) {
              geocoder.geocode({ location: e.latLng }, function (result) {
                  if (result.length &gt; 0) {
                      var data = {
                          name: result[0].formatted_address.split(",")[0],
                          location: e.latLng,
                          address: result[0].formatted_address
                      }
                      if (viewModel.oldLocation()) {
                          moveLocationCreate(data);
                      } else {
                          startLocationCreate(data);
                      }
                  }
              });
          }
      }
  });
  </code></pre>
  
  <p>Everything is working fine until I open the app in mobile. On mobile the <em>rightclick</em> event won't fire. I have searched to find a way to have something like long click on mobile but it is not working. Can anyone help me finding a solution for this?</p>