Interface GeoMapListener
-
public interface GeoMapListener
Interface for listening to changes to the state of the GeoMap UI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
centerChanged
void centerChanged(GeoMap geoMap)
Called whenever the center of the GeoMap changes, e.g. when panning. This will happen in general for calls toGeoMap.setMapPosition(org.eclipse.swt.graphics.Point)
,GeoMap.translateMapPosition(int, int)
andGeoMap.setCenterPosition(org.eclipse.swt.graphics.Point)
A call to higher-level methods likeGeoMap.zoomTo(org.eclipse.swt.graphics.Rectangle)
may result in many firings.- Parameters:
geoMap
- the geoMap that has changed
-
zoomChanged
void zoomChanged(GeoMap geoMap)
Called whenever the zoom level changes. This will happen in general for calls toGeoMap.setZoom(int)
,GeoMap.zoomIn(org.eclipse.swt.graphics.Point)
andGeoMap.zoomOut(org.eclipse.swt.graphics.Point)
A call to higher-level methods likeGeoMap.zoomTo(org.eclipse.swt.graphics.Rectangle)
may result in many firings.- Parameters:
geoMap
- the geoMap that has changed
-
-