package org.argeo.gis.ui.rcp.swing;
+import java.awt.Color;
import java.awt.Frame;
import javax.jcr.Node;
mapPane = new JMapPane(new StreamingRenderer(), new DefaultMapContext());
versatileZoomTool = new VersatileZoomTool();
mapPane.setCursorTool(versatileZoomTool);
+ mapPane.setBackground(Color.WHITE);
frame.add(mapPane);
FeatureSource<SimpleFeatureType, SimpleFeature> featureSource) {
// TODO: deal with style and rasters
mapPane.getMapContext().addLayer(featureSource, null);
+ mapPane.reset();
}
}