public interface GeoMapListener
Modifier and Type | Method and Description |
---|---|
void |
centerChanged(GeoMap geoMap)
Called whenever the center of the GeoMap changes, e.g.
|
void |
zoomChanged(GeoMap geoMap)
Called whenever the zoom level changes.
|
void centerChanged(GeoMap geoMap)
GeoMap.setMapPosition(org.eclipse.swt.graphics.Point)
,
GeoMap.translateMapPosition(int, int)
and GeoMap.setCenterPosition(org.eclipse.swt.graphics.Point)
A call to higher-level methods like GeoMap.zoomTo(org.eclipse.swt.graphics.Rectangle)
may result in
many firings.geoMap
- the geoMap that has changedvoid zoomChanged(GeoMap geoMap)
GeoMap.setZoom(int)
, GeoMap.zoomIn(org.eclipse.swt.graphics.Point)
and
GeoMap.zoomOut(org.eclipse.swt.graphics.Point)
A call to higher-level methods like
GeoMap.zoomTo(org.eclipse.swt.graphics.Rectangle)
may result in many firings.geoMap
- the geoMap that has changed