Bader-Eddine Qodia
Bader-Eddine Qodia

Reputation: 364

Osmbonuspack : marker's onDoubleTap function not working when adding the markers in RadiusMarkerClusterer

I created a custom marker where I overrode onDoubleTap Method, which worked as I expected, but when I added my custom Marker to RadiusMarkerClusterer, my onDoubleTap function didn't work as I wanted and it didn't be called when I double-tapped on the marker in the Map View

@Override
public boolean onDoubleTap(MotionEvent e, MapView mapView) {
    Log.d(TAG, "onDoubleTap: Event=>"+e.getX()+", "+e.getY()+"Marker =>"+this.getPosition().toString());
    boolean touched = hitTest(e, mapView);
    if (touched){
        Log.d(TAG, "onDoubleTap: ");
        mSlidePanelListner.onDoubleTap(mapView);
    }
    return touched;
}

Upvotes: 0

Views: 120

Answers (1)

MKer
MKer

Reputation: 3450

This issue is now solved on the master branch.

Upvotes: 1

Related Questions