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")))
| Methods inherited from class | Name |
|---|---|
class Renderer |
render, render |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Render the Map to a PDF Document
map - The MapRender the Map to the OutputStream
map - The Mapout - The OutputStream