public interface MapListener
Invoked when the map is panned or zoomed
Methods
public abstract void mapPositionUpdated(Component source, int zoom, Coord center) | Invoked when the map is zoomed or panned |
Method details
mapPositionUpdated
public abstract void mapPositionUpdated(Component source, int zoom, Coord center)Invoked when the map is zoomed or panned
Parameters
sourceComponent- = the component that fired the event
zoomint- the zoom level of the current map
centerCoord- the center position of the map