code: private void processMarkerClicked(final String name, final ClickType clickType) {
              if (logger.isTraceEnabled()) {
                  logger.trace("JS reports marker {} clicked {}", name, clickType);
              }
              synchronized (mapCoordinateElements) {
                  if (mapCoordinateElements.containsKey(name)) {
                      final MapCoordinateElement mapCoordinateElement = mapCoordinateElements.get(name).get();
                      EventType<MarkerEvent> eventType = null;
                      switch (clickType) {
                          case LEFT:
                              eventType = MarkerEvent.MARKER_CLICKED;
                              break;
                          case DOUBLE:
                              eventType = MarkerEvent.MARKER_DOUBLECLICKED;
                              break;
                          case RIGHT:
                              eventType = MarkerEvent.MARKER_RIGHTCLICKED;
                              break;
                          case MOUSEDOWN:
                              eventType = MarkerEvent.MARKER_MOUSEDOWN;
                              break;
                          case MOUSEUP:
                              eventType = MarkerEvent.MARKER_MOUSEUP;
                              break;
                          case ENTERED:
                              eventType = MarkerEvent.MARKER_ENTERED;
                              break;
                          case EXITED:
                              eventType = MarkerEvent.MARKER_EXITED;
                              break;
                      }
                      fireEvent(new MarkerEvent(eventType, (Marker) mapCoordinateElement));
                  }
              }
          }
docs: processes a marker click
  
  @param name
  name of the marker
  @param clickType
  the type of click