> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/maps/ymapsml/doc/en/llms.txt

# Representation of maps and objects on a map

YMapsML has elements that let you define map parameters and the visual appearance of objects displayed on a map.

To set map parameters, the [repr:View](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/representation-View.md) element is used. You can use it to set the map type and viewport.

When displaying YMapsML via the JavaScript API, each geographical object that has [geographical and geometric data](https://yandex.ru/dev/maps/ymapsml/doc/en/guide/concepts/geodata.md) specified is represented by one or more visual objects: markers, polylines or polygons. The visual appearance of geographical objects is preset, but you can change it by using [styles](https://yandex.ru/dev/maps/ymapsml/doc/en/guide/concepts/styles.md) and [templates](https://yandex.ru/dev/maps/ymapsml/doc/en/guide/concepts/templates.md).

Styles let you define or redefine certain parameters for displaying geographical objects, as well as create custom HTML representations using templates. To set styles, use the [repr: Style](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/representation-Style.md) element. For templates, use [repr:Template](https://yandex.ru/dev/maps/ymapsml/doc/en/ref/reference/representation-Template.md).

