# OnStateChangedListener

public interface OnStateChangedListener

An event listener, allowing activities to be notified of pan and zoom events. Initialisation and calls made by your code do not trigger events; touch events and animations do. Methods in this listener will be called on the UI thread and may be called very frequently - your implementation should return quickly.

#### Inheritors

DefaultOnStateChangedListener

## Functions

onCenterChanged
Link copied to clipboard
public abstract void onCenterChanged(PointF newCenter, int origin)
The source center has been changed.
onScaleChanged
Link copied to clipboard
public abstract void onScaleChanged(float newScale, int origin)
The scale has changed.