gml:Polygon

Diagram

Description

Specifies the "Polygon" type of geo object.

If ymaps: GeoObject has this tag, it indicates that the geo object is a polygon. The tag is a container for the descriptions of the exterior (gml:exterior) and interior (gml:interior) boundaries of a polygon.

Attention. In Yandex.Maps JavaScript API versions 1.x, holes in polygons are not supported.

Contains:

gml:description, gml:exterior, gml:interior, gml:metaDataProperty, gml:name

May be included in elements by substitutions:

ymaps:GeoObject

gml:Polygon

Part of a YMapsML document that describes a quadrilateral:

<gml:Polygon>
 <gml:exterior>
 <gml:LinearRing>
 <gml:posList>37.178027 55.486953 38.040535 55.486953 38.040535 56.018499 37.178027 56.018499 37.178027 55.486953</gml:posList>
 </gml:LinearRing>
 </gml:exterior>
</gml:Polygon>