class Pdf extends Renderer<Document>
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")))
Pdf()
Document
render(Map map)
void
render(Map map, java.io.OutputStream out)
Render the Map to a PDF Document
map
Render the Map to the OutputStream
out
Groovy Documentation