Rendering geographical objects

The Yandex.Maps service lets you put visual objects on maps: geo objects (markers, polylines and polygons), as well as balloons and popup hints.

All YMapsML elements that are for describing geometric and geographical data have visual representations and are displayed using geo objects.

The table shows the relationship between YMapsML elements and geo objects.

YMapsML element and corresponding geometric shape Geo object and its name

gml:Point

geometric point

ymaps.Placemark

marker

gml:LineString

polyline

ymaps.Polyline

polyline

gml:LinearRing

closed polyline

ymaps.Polyline

polyline

gml:Polygon

polygon

ymaps.Polygon

polygon