Render the geoscript.render.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")))
| Constructor and description |
|---|
Pdf
() |
Render the Map to a PDF Document
map - The MapRender the Map to the OutputStream
map - The Mapout - The OutputStream