com.esri.android.map.event
Interface OnPinchListener

All Superinterfaces:
Serializable

public interface OnPinchListener
extends Serializable

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


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

Method Detail

prePointersMove

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);

postPointersMove

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);

prePointersDown

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);

postPointersDown

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);

prePointersUp

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);

postPointersUp

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);


Copyright © 2012. All Rights Reserved.