Class KmlPlacemark

  • All Implemented Interfaces:
    GeoElement

    public final class KmlPlacemark
    extends KmlNode
    implements GeoElement
    A KML Placemark is a KML node associated with geometries.
    Since:
    100.4.0
    • Method Detail

      • getGraphicType

        public KmlPlacemark.GraphicType getGraphicType()
        Returns the type of the graphic in the KML Placemark.
        Returns:
        a GraphicType
        Since:
        100.4.0
      • getGeometries

        public List<KmlGeometry> getGeometries()
        Gets an unmodifiable list of KmlGeometry objects associated with the placemark.

        The list will contain one geometry for non-multi geometries.

        Returns:
        a list of KmlGeometry objects
        Since:
        100.4.0
      • getAttributes

        public Map<String,Object> getAttributes()
        Description copied from interface: GeoElement
        Gets a java.util.Map of all the available attributes as name value pairs.

        Attribute values are returned as Object instances, but the underlying value type is based on the Field.Type.

        Specified by:
        getAttributes in interface GeoElement
        Returns:
        all the available attributes as name value pairs.
      • getGeometry

        public Geometry getGeometry()
        Description copied from interface: GeoElement
        Gets the geometry of this geoelement.
        Specified by:
        getGeometry in interface GeoElement
        Returns:
        the geometry of this geoelement