final IPreferenceStore preferenceStore = ProjectPlugin.getPlugin().getPreferenceStore();
boolean istiled = preferenceStore
.getBoolean(org.locationtech.udig.project.preferences.PreferenceConstants.P_TILED_RENDERING);
if (!istiled) {
viewer = new MapViewer(composite, SWT.DOUBLE_BUFFERED);
} else {
viewer = new MapViewer(composite, SWT.MULTI | SWT.NO_BACKGROUND);
}
// we need an edit domain for GEF
// This represents the "Current Tool" for the Palette
// We should not duplicate the idea of current tools so we may
// need to delegate to getEditDomain; and just use the MapEditTool *id*