// buffer, which is why we set the Request paint to true,
// to get the image rebuilt. Otherwise, a copy of the
// graphic remains.
map.setBufferDirty(true);
graphic.generate(getProjection());
map.repaint();
} else {
// If we get here, we are painting a moving object, so we
// only want to do the outline to make it as fast as
// possible.
holder.setFrom(graphic);