Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 617 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 617 Bytes

mapsforge-map-0.3.1-with-onTap

Since this is only a commited patch taken from here, the thing to notice is this:

onTap = ovl.getClass().getMethod("onTap", GeoPoint.class, MapView.class);

Therefore, implementing an onTap() method in an Overlay item should yield expected results.

Example:

public abstract class ResponsiveOverlay implements Overlay {
	
	public void onTap(GeoPoint geoPoint) {

	}
	// ...
}