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; }
Advertisement
Answer
This issue is now solved on the master branch.