public interface

OnPinchListener

implements Serializable
com.esri.android.map.event.OnPinchListener

Class Overview

Implements this listener to extend the default pinch handling of a MapView.

Summary

Public Methods
abstract void postPointersDown(float x1, float y1, float x2, float y2, double factor)
Defines the action after the map default pointers touch down handling.
abstract void postPointersMove(float x1, float y1, float x2, float y2, double factor)
Defines the action after the map default move handling.
abstract void postPointersUp(float x1, float y1, float x2, float y2, double factor)
Defines the action before the map default pointers up handling.
abstract void prePointersDown(float x1, float y1, float x2, float y2, double factor)
Defines the action before the map default pointers touch down handling.
abstract void prePointersMove(float x1, float y1, float x2, float y2, double factor)
Defines the action before the map default move handling.
abstract void prePointersUp(float x1, float y1, float x2, float y2, double factor)
Defines the action before the map default pointers up handling.

Public Methods

public abstract void postPointersDown (float x1, float y1, float x2, float y2, double factor)

Defines the action after the map default pointers touch down handling.

Parameters
x1 the x coordinate of the first point in screen pixels.
y1 the y coordinate of the first point in screen pixels.
x2 the x coordinate of the second point in screen pixels.
y2 the y coordinate of the second point in screen pixels.
factor The resolution factor ( new resolution = current resolution / factor);

public abstract void postPointersMove (float x1, float y1, float x2, float y2, double factor)

Defines the action after the map default move handling.

Parameters
x1 the x coordinate of the first point in screen pixels.
y1 the y coordinate of the first point in screen pixels.
x2 the x coordinate of the second point in screen pixels.
y2 the y coordinate of the second point in screen pixels.
factor The resolution factor ( new resolution = current resolution / factor);

public abstract void postPointersUp (float x1, float y1, float x2, float y2, double factor)

Defines the action before the map default pointers up handling.

Parameters
x1 the x coordinate of the first point in screen pixels.
y1 the y coordinate of the first point in screen pixels.
x2 the x coordinate of the second point in screen pixels.
y2 the y coordinate of the second point in screen pixels.
factor The resolution factor ( new resolution = current resolution / factor);

public abstract void prePointersDown (float x1, float y1, float x2, float y2, double factor)

Defines the action before the map default pointers touch down handling.

Parameters
x1 the x coordinate of the first point in screen pixels.
y1 the y coordinate of the first point in screen pixels.
x2 the x coordinate of the second point in screen pixels.
y2 the y coordinate of the second point in screen pixels.
factor The resolution factor ( new resolution = current resolution / factor);

public abstract void prePointersMove (float x1, float y1, float x2, float y2, double factor)

Defines the action before the map default move handling.

Parameters
x1 the x coordinate of the first point in screen pixels.
y1 the y coordinate of the first point in screen pixels.
x2 the x coordinate of the second point in screen pixels.
y2 the y coordinate of the second point in screen pixels.
factor The resolution factor ( new resolution = current resolution / factor);

public abstract void prePointersUp (float x1, float y1, float x2, float y2, double factor)

Defines the action before the map default pointers up handling.

Parameters
x1 the x coordinate of the first point in screen pixels.
y1 the y coordinate of the first point in screen pixels.
x2 the x coordinate of the second point in screen pixels.
y2 the y coordinate of the second point in screen pixels.
factor The resolution factor ( new resolution = current resolution / factor);