com.esri.android.map.event
Interface OnZoomListener

All Superinterfaces:
Serializable

public interface OnZoomListener
extends Serializable

Implement this listener to extend the default zoom handling of a MapView.


Method Summary
 void postAction(float pivotX, float pivotY, double factor)
          Defines the action after the map default zoom handling.
 void preAction(float pivotX, float pivotY, double factor)
          Defines the action before the map default zoom handling.
 

Method Detail

preAction

void preAction(float pivotX,
               float pivotY,
               double factor)
Defines the action before the map default zoom handling.

Parameters:
pivotX - The X coordinate of the point that is being zoomed into or out of.
pivotY - The Y coordinate of the point that is being zoomed into or out of.
factor - The resolution factor ( new resolution = current resolution / factor);

postAction

void postAction(float pivotX,
                float pivotY,
                double factor)
Defines the action after the map default zoom handling.

Parameters:
pivotX - The X coordinate of the point that is being zoomed into or out of.
pivotY - The Y coordinate of the point that is being zoomed into or out of.
factor - The resolution factor ( new resolution = current resolution / factor);


Copyright © 2012. All Rights Reserved.