public interface

OnZoomListener

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

Class Overview

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

Summary

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

Public Methods

public abstract void postAction (float pivotX, float pivotY, double factor)

Defines the action after the map default zoom handling.

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

public abstract void preAction (float pivotX, float pivotY, double factor)

Defines the action before the map default zoom handling.

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