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