public static class DrawingShape.KmlDrawingShapeImportFactory extends KmlMapItemImportFactory
Constructor and Description |
---|
KmlDrawingShapeImportFactory(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 KmlDrawingShapeImportFactory(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