public static class DrawingRectangle.KmlDrawingRectangleImportFactory extends KmlMapItemImportFactory
Constructor and Description |
---|
KmlDrawingRectangleImportFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFactoryName()
Returns the factory name.
|
MapItem |
instanceFromKml(Placemark placemark,
MapGroup mapGroup)
Create MapItem from KML Placemark element.
|
public MapItem instanceFromKml(Placemark placemark, MapGroup mapGroup) throws FormatNotSupportedException
KmlMapItemImportFactory
instanceFromKml
in class KmlMapItemImportFactory
placemark
- KML Placemark element to parsemapGroup
- MapGroup that the MapItem will belong to after creation. Note that the method
will not necessarily add the MapItem to this group. This should be done by the
calling method.FormatNotSupportedException
public java.lang.String getFactoryName()
KmlMapItemImportFactory
getFactoryName
in class KmlMapItemImportFactory