public boolean onLongPress(final Point tapXY) {

        final NewMap map = this.map.get();

        if (!hitItems.isEmpty() || hitRoutingPoint != null) {
            return false;
        }

        // show popup
        if (map != null) {
            map.triggerLongTapContextMenu(tapXY);
            return true;
        }
        return false;
    }
returns true if longTapContextMenu got triggered
main/src/main/java/cgeo/geocaching/maps/mapsforge/v6/TapHandler.java