public static class GenericPoint.KmlGenericPointImportFactory extends KmlMapItemImportFactory
Constructor and Description |
---|
KmlGenericPointImportFactory(MapView mapView) |
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 KmlGenericPointImportFactory(MapView mapView)
public MapItem instanceFromKml(Placemark placemark, MapGroup mapGroup)
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.public java.lang.String getFactoryName()
KmlMapItemImportFactory
getFactoryName
in class KmlMapItemImportFactory