}
if (newBounds == bounds) {
// issue a copy to the boundsListeners for safety
newBounds = new ReferencedEnvelope(bounds);
}
MapBoundsEvent event = new MapBoundsEvent(this, type, oldBounds, newBounds);
for (MapBoundsListener boundsListener : boundsListeners) {
try {
boundsListener.mapBoundsChanged(event);
} catch (Throwable t) {
if (LOGGER.isLoggable(Level.FINER)) {