Open Layers - AndreasWBartels/JGISShell GitHub Wiki
GUI
Viewer
Open Action
Menu -> File -> Open or Toolbar Open
Supported Layer formats: Shapefile, flml-files, Worldfiles, MBTiles, ARCInfo ASCI Grid, Saga Grid and XYZ Grid file
Open URL Action
Menu -> File -> Open URL
See Layer URL for URL syntax.
Drag and Drop
see Open Action for supported formats
Scripting
package net.anwiba.script.groovy
import net.anwiba.scripting.api.groovy.JGISShellGroovyScript;
@groovy.transform.BaseScript JGISShellGroovyScript facade
def title = "layer name";
def url = "{url}";
facade.map()
.add( title
, facade.layerReference(url)
);
See Layer URL for URL syntax.