Package org.mapsforge.map.view
Interface InputListener
-
public interface InputListener
This listener can be used to get informed about manual changes of position or zoom. It will not inform about automatic (software-driven) changes. The intentional purpose for this class is to switch off automatic positioning or automatic zooming as soon as the user takes manual positioning or zooming.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMoveEvent()
A manual movement has been started.void
onZoomEvent()
A manual zoom has been started.
-
-
-
Method Detail
-
onMoveEvent
void onMoveEvent()
A manual movement has been started. The user drags the map over the screen. This method is called before any movement takes place. There is no guarantee that this method is called just once per user intervention.
-
onZoomEvent
void onZoomEvent()
A manual zoom has been started. The user uses pinch-to-zoom, uses its mouse wheel or the ZoomControls. This method is called before any zoom takes place. There is no guarantee that this method is called just once per user intervention.
-
-