Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Вы можете добавлять объекты на карту для обозначения точек, линий, областей или коллекций объектов. Фотореалистичные 3D-карты в Maps JavaScript API называют эти объекты наложениями. Наложения привязаны к географическим координатам, поэтому они перемещаются при перетаскивании или масштабировании карты.
Типы наложения
Фотореалистичные 3D-карты в Maps JavaScript API поддерживают несколько различных типов наложений, которые можно добавлять программно:
Поповер — это особый вид наложения для отображения контента (обычно текста или изображений) в заданном месте на карте. Поповеры аналогичны информационным окнам в Maps JavaScript API.
Линии на карте отображаются с помощью полилиний , представленных в виде упорядоченной последовательности точек, соединенных отрезками линий.
Области произвольной формы на карте отображаются с помощью полигонов . Как и полилинии, полигоны представляют собой упорядоченную последовательность местоположений. В отличие от полилиний, полигоны определяют область, которую они заключают.
Модели — это ресурсы gLTF, которые отображаются на карте в виде трехмерных фигур.
[null,null,["Последнее обновление: 2025-04-29 UTC."],[],[],null,["\u003cbr /\u003e\n\n| This product or feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the [Google\n| Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information, see the [launch stage\n| descriptions](/maps/launch-stages).\n\n\u003cbr /\u003e\n\nYou can add objects to the map to designate points, lines, areas, or collections\nof objects. The Photorealistic 3D Maps in Maps JavaScript API calls these objects overlays. Overlays are\ntied to geographic coordinates, so they move when you drag or zoom the\nmap.\n\nOverlay types\n\nThe Photorealistic 3D Maps in Maps JavaScript API supports several different types of overlays that you\ncan add programmatically:\n\n- A **[popover](/maps/documentation/javascript/3d/popovers)** is a special kind of overlay for displaying content (usually text or images) at a given location on a map. Popovers are analogous to [Info windows](/maps/documentation/javascript/infowindows) in the Maps JavaScript API.\n- Lines on the map are displayed using **[polylines](/maps/documentation/javascript/3d/shapes-lines#polylines)**, represented as an ordered sequence of points connected by line segments.\n- Areas of arbitrary shape on the map are displayed using **[polygons](/maps/documentation/javascript/3d/shapes-lines#polygons)**. Like polylines, polygons are an ordered sequence of locations. Unlike polylines, polygons define a region which they enclose.\n- **[Models](/maps/documentation/javascript/3d/models)** are gLTF resources that are rendered on the map as 3D shapes."]]