Beanshell:Get the WMS URL that JUMP is using

From OpenJUMP Wiki
Jump to: navigation, search
print(wc.getLayerManager().getLayerables( com.vividsolutions.jump.workbench.model.WMSLayer.class).iterator().next().createRequest(wc.getLayerViewPanel()).getURL());