Log Message: |
Add the rendering hint to use the not-so-accurate scale calculations. We don't want annoying Bursa-Wolf-Pameter-missing exception coming from the preview JMapPane
Map<Object, Object> hints = this.mapPane.getRenderer().getRendererHints();
if (hints == null)
hints = new HashMap<Object, Object>();
hints.put(StreamingRenderer.SCALE_COMPUTATION_METHOD_KEY, StreamingRenderer.SCALE_OGC);
|