public interface RasterViewportChangeListener
RasterMapEntry that implement this interface will be notified
if the map viewport changes. Note this can also be implemented by other classes,
which is why the RasterMapEntry is passed to the listener method.| Modifier and Type | Method and Description |
|---|---|
void |
rasterViewportChanged(RasterMapEntry rasterMapEntry,
com.bbn.openmap.proj.Projection projection,
int width,
int height,
RasterMapCatalog catalog)
Called if the viewport for the
RasterMapEntry changes. |
void rasterViewportChanged(RasterMapEntry rasterMapEntry, com.bbn.openmap.proj.Projection projection, int width, int height, RasterMapCatalog catalog)
RasterMapEntry changes.rasterMapEntry - the RasterMapEntry whose viewport was changed, or null if not for only one RasterMapEntryprojection - updated Projection of the viewportwidth - int updated width of the viewport in pixelsheight - int updated height of the viewport in pixelscatalog - RasterMapCatalog containing the RasterMapEntry