Render a Map to an SVG Document.
import geoscript.render.*
import geoscript.layer.*
import geoscript.style.*
Map map = new Map(layers:[new Shapefile("states.shp")])
Svg svg = new Svg()
svg.render(map, new FileOutputStream(new File("states.svg")))
| 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 SVG Document
map - The MapRender the Map to the OutputStream
map - The Mapout - The OutputStream