translate
Class SVGImporter

java.lang.Object
  extended by translate.SVGImporter

public class SVGImporter
extends java.lang.Object

Utility class for converting SVG files to the map format. The class assumes that are SVG objects are specified by absolute coordinates.


Field Summary
private  float SCALE_FACTOR
          the amount to scale the SVG objects
 
Constructor Summary
SVGImporter()
           
 
Method Summary
 Map importSVGMap(MapImporter importer, java.lang.String fileName)
          Converts the specified SVG file into a map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCALE_FACTOR

private float SCALE_FACTOR
the amount to scale the SVG objects

Constructor Detail

SVGImporter

public SVGImporter()
Method Detail

importSVGMap

public Map importSVGMap(MapImporter importer,
                        java.lang.String fileName)
Converts the specified SVG file into a map.

Parameters:
importer - - the map loader
fileName - - te SVG file
Returns:
- the map representation