Remove white flash when pan/zooming map

Description

The JMapPane drawLayers() method implementation clears the images viewport rectangle and kicks off an asynchronous rendering task. Calling "repaint()" immediately after this call pretty much guarantees one will get a "white flash" when the user stops panning. Furthermore the "onRenderingComplete()" method of AbstractMapPane contains a call to "repaint()" already so this one is not required.

A pull request was submitted for this here: https://github.com/geotools/geotools/pull/2224

Environment

None

Status

Assignee

Unassigned

Reporter

Leif Gruenwoldt

Triage

None

Components

Fix versions

Affects versions

21-RC

Priority

Medium
Configure