package edu.ucdavis.cstars.client.event; import edu.ucdavis.cstars.client.geometry.Extent; import edu.ucdavis.cstars.client.geometry.Point; /** * Fires when the zoom is complete. * * @author Justin Merz */ public interface MapZoomEndHandler { /** * * @param extent - Gets the extent when the zoom event ends. * @param zoomFactor -The scale factor represents the amount as a percentage that the map zoomed in * or out from the previous extent. A value of 2 means the map was zoomed in twice as far as the previous * extent. A value of 0.5 means the map zoomed out twice as far as previously. * @param anchor - The location of the mouse pointer. The Point x and y values are in screen units. This point * acts as an anchor point, and this part of the map stays within the map region during the zoom process. * @param level - Level of an ArcGISTiledMapServiceLayer after zoom is complete. */ public void onZoomEnd(Extent extent, float zoomFactor, Point anchor, int level); }