Render the Map to a PDF.
import geoscript.render.* import geoscript.layer.* import geoscript.style.* Map map = new Map(layers:[new Shapefile("states.shp")]) Pdf pdf = new Pdf() pdf.render(map, new FileOutputStream(new File("states.pdf")))
Document
render(Map map)
void
render(Map map, java.io.OutputStream out)
class Renderer
render, render
Render the Map to a PDF Document
map
Render the Map to the OutputStream
out
Groovy Documentation