+ placemark: ET.Element = ET.Element("Placemark")
+ name: ET.Element = ET.SubElement(placemark, "name")
+ name.text = self.name
+ style: ET.Element = ET.SubElement(placemark, "styleUrl")
+ style.text = "#" + self.__class__.__name__
+ polygon: ET.Element = ET.SubElement(placemark, "Polygon")
+ outer_boundary: ET.Element = ET.SubElement(polygon, "outerBoundaryIs")
+ linear_ring: ET.Element = ET.SubElement(outer_boundary, "LinearRing")
+ coordinates: ET.Element = ET.SubElement(linear_ring, "coordinates")
+ points: list[Point] = Hexagon.polygon_corners(self.layout, self.position)
+ points.append(points[0])
+
+ method = GeoLocation(self.geoLocation).point_to_geo_location
+ geo_locations: list[GeoLocation] = map(method, points)
+ text:list[str] = []
+ for geo_location in list(geo_locations):
+ text.append(f"{geo_location.longitude},{geo_location.latitude},{geo_location.aboveMeanSeaLevel}")
+ coordinates.text = " ".join(text)
+ return placemark