public class SVGMapLoader
extends java.lang.Object
This class loads map data from an SVG and produces a LineMap object, which can be used by the leJOS navigation package.
Modifier and Type | Field and Description |
---|---|
private java.io.InputStream |
in |
private static float |
MAX_BOUND |
Constructor and Description |
---|
SVGMapLoader(java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
LineMap |
readLineMap() |
private static final float MAX_BOUND
private java.io.InputStream in
public LineMap readLineMap() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException