Beanshell:Replace point symbols with green pushpin

From OpenJUMP Wiki
Jump to: navigation, search

Replace point symbols with green pushpin/thumbtack icon at each point:

{
  String layerName = "myLayerName";
  import com.vividsolutions.jump.workbench.ui.renderer.style.PinEqualCoordinatesStyle;
  wc.layerManager.getLayer(layerName).addStyle(new PinEqualCoordinatesStyle());
}