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 |
---|---|
geometric point | marker |
polyline | polyline |
closed polyline | polyline |
polygon | polygon |
YMapsML element and corresponding geometric shape | Geo object and its name |
---|---|
geometric point | marker |
polyline | polyline |
closed polyline | polyline |
polygon | polygon |