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

source Component
= the component that fired the event
zoom int
the zoom level of the current map
center Coord
the center position of the map