---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/index.md
title: Примеры кода
description: Эта статья содержит ссылки на примеры кода Vanilla, React JS или Vue JS.
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/llms.txt


# Примеры кода

{% note info %}

Вы можете форкнуть и отредактировать все примеры как вам угодно, это их не сломает.

{% endnote %}

## Карта



- [Динамическая загрузка содержимого балуна](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/balloon_ajax.md)
- [Балун и хинт](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/balloon_and_hint.md)
- [Элементы управления](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/controls.md)
- [На весь экран](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/fillcontainer.md)
- [Размещение в скрытом контейнере](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/hiddendiv.md)
- [Создание и удаление](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/mapbasics.md)
- [Основные параметры](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/mapparams.md)

## Местоположение пользователя



- [Создание карты с местоположением пользователя](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geolocation.md)
- [Определение местоположения с помощью Geolocation API](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geolocation_api.md)
- [Определение местоположения по IP](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geolocation_ip.md)

## Геообъекты



- [Круг](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/circle.md)
- [Вывод списка объектов карты](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/object_list.md)
- [Метка](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/placemark.md)
- [Многоугольник](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/polygon.md)
- [Редактор многоугольника](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/polygonEditor.md)
- [Ломаная](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/polyline.md)
- [Редактор ломаной](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/polylineEditor.md)
- [Прямоугольник](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/rectangle.md)

## GeoQuery



- [Позиционирование карты для показа результатов геокодирования и их кластеризация](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/apply_bounds_and_clusterize.md)
- [Поиск ближайшего объекта](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/find_closest_object.md)
- [Фильтрация объектов на карте по различным признакам](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geoobjects_menu.md)
- [Попадание точек в окружность](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/placemarks_in_circle.md)
- [Пересечение маршрута с многоугольником на примере МКАД](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/route_inside_polygon.md)
- [Добавление на карту объектов, попадающих в область видимости](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/show_visible_objects.md)

## GeoXML



- [Отображение YMapsML, KML](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geoxml_display.md)

## Макеты и шаблоны



- [Макет кнопки](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/button_layout.md)
- [Макет балуна кластера "Карусель"](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/cluster_balloon_carousel_layout.md)
- [Макет балуна кластера](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/cluster_balloon_layout.md)
- [Макет выпадающего списка](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/list_box_layout.md)
- [Макет балуна метки](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/placemark_balloon_layout.md)
- [Макет элемента изменения масштаба](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/small_zoom_layout.md)

## Поведения и события



- [Поведения карты](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/behaviors.md)
- [Свойства события. Координаты щелчка](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/event_properties.md)
- [Смена значка метки при наведении](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/event_rollover.md)
- [Изменение параметров метки](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geoobject_contextmenu.md)
- [События геообъекта](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geoobject_events.md)

## Кластеризация



- [Создание кластеризатора](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/clusterer_create.md)
- [Изменение размера ячейки кластеризатора](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/clusterer_gridSize.md)

## Маршрутизация



- [Расчёт стоимости маршрута](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/deliveryCalculator.md)
- [Построение маршрута](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/router.md)
- [Редактирование маршрута](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/router_editor.md)

## Поиск по карте



- [Поиск по своим объектам](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/custom_search.md)
- [Геокодирование](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/geocode.md)

## Пробки



- [Элемент управления "Пробки"](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/traffic_control.md)
- [Слой пробок на карте без добавления кнопки](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/examples/cases/traffic_provider.md)
