public abstract class KmlMapItemImportFactory
extends java.lang.Object
Constructor and Description |
---|
KmlMapItemImportFactory() |
Modifier and Type | Method and Description |
---|---|
abstract 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
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 abstract java.lang.String getFactoryName()