JS API карт Navitel представляет собой набор JavaScript-компонентов, предназначенных для доступа к картографическому материалу на веб-страницах.
Возможности:
1. Получите API-ключ.
Для работы с JS API карт Navitel требуется действующий API ключ. Ключ можно получить, обратившись по адресу ap@navitel.ru.
2. Подключите API и библиотеки Leaflet.
Для подключения библиотек Leaflet и API добавьте в заголовок HTML-страницы строки следующего вида:
<head>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet-src.js"></script>
<script src="http://webmapapi.navitel.ru/index.umd.js"></script>
</head>
3. Создайте контейнер для карты.
Для создания контейнера, в котором будет размещена карта, добавьте любой HTML-элемент блочного типа. Карта заполнит этот элемент полностью.
<body>
<div id="map"></div>
</body>
4.Создайте карту.
Для создания карты с тайлами добавьте следующий код в секцию body:
<script>
const nmapi = navitel.createWebMapApi('6e982defee3eb78ab24890068d57fff04b4f7ae5', {
locale: navitel.LocaleCode.ru_RU
})
const map = L.map('map', {
center: [55.75, 37.70],
zoom: 9,
})
const navitelTile = nmapi.extension.leaflet.createTileLayer({
locale: navitel.LocaleCode.ru_RU
})
navitelTile.addTo(map)
</script>
В данном примере используется два параметра для карты:
Географическая точка с определенной широтой и долготой.
| Свойство | Тип | Описание |
|---|---|---|
| latitude | Number | Широта в градусах, интервал допустимых значений [-90, 90] |
| longitude | Number | Долгота в градусах, интервал допустимых значений [-180, 180] |
Описывает область видимости: прямоугольную область на карте в пиксельных координатах.
| Свойство | Тип | Описание |
|---|---|---|
| widthPx | uint32 | Ширина в пикселях |
| heightPx | uint32 | Высота в пикселях |
| zoomLevel | uint32 | Коэффициент масштабирования в диапазоне от 3 до 18 включительно, где 3 – минимальный масштаб, 18 – максимальный |
| centerCoordinates | LatLng | Координаты центра карты в формате [широта, долгота] |
Полилиния из последовательности точек на карте.
| Свойство | Тип | Описание |
|---|---|---|
| points | LonLat[] | Последовательность точек |
Описывает массогабаритные ограничения применяемые при прокладке
| Свойство | Тип | Описание |
|---|---|---|
| totalWeightKg | Integer | Общая масса ТС в килограммах |
| axleWeightKg | Integer | Нагрузка на ось ТС в килограммах |
| widthMeters | Integer | Ширина ТС в метрах |
| heightMeters | Integer | Высота ТС в метрах |
| lengthMeters | Integer | Длина ТС в метрах |
Описывает адресную иерархию.
| Свойство | Тип | Описание |
|---|---|---|
| country | string | Страна |
| region | string | Регион |
| parish | string | Округ, приход |
| city | string | Город |
| district | string | Район |
| street | string | Улица |
| building | string | Здание |
Описывает объект на карте.
| Свойство | Тип | Описание |
|---|---|---|
| coordinates | LonLat | Координаты объекта |
| address | Address | Адрес объекта |
| label | string | Текстовое описание в произвольной форме. Например, название магазина. Может быть пусто. |
Описывает элемент результата адресного поиска.
| Свойство | Тип | Описание |
|---|---|---|
| id | string | Уникальный идентификатор, который используется в адресном поиске по иерархии ниже (например, id из ListCountries в ListCities) либо для получения полного адреса |
| name | string | Название элемента результата адресного поиска, например, название страны |
| coordinates | LonLat | Координаты |
В данном разделе приводится описание API карт, который используется для создания и управления картой на странице.
| Конструктор | Описание |
|---|---|
| createWebMapApi( <string>apikey, <options>) | Создает объект, с которым будет дальнейшее обращение к API |
Параметры
| Параметр | Тип | Значение по умолчанию | Описание |
|---|---|---|---|
| locale | String | Язык браузера | Указывает код используемого языка для карты |
Пример использования
const nmapi = navitel.createWebMapApi('6e982defee3eb78ab24890068d57fff04b4f7ae5', {
locale: navitel.LocaleCode.ru_RU
})
| Конструктор | Описание |
|---|---|
| L.map(<string> id, <Map options> options?) | Инициализирует карту в DOM-узле <div> элемента с указанным id с необязательным набором опций, которые описаны ниже. |
Параметры
Подробное описание возможных параметров данного метода приведено в описании API используемой библиотеки Leaflet 1.6.0
Пример использования
Инициализация карты в элементе div с id "map", с указанием координат центра карты и коэффициента масштабирования.
const map = L.map('map', {
center: [55.75, 37.70],
zoom: 9,
})
| Конструктор | Описание |
|---|---|
| createTileLayer(<options>) | Создание слоя с тайлами. |
Параметры
| Параметр | Тип | Значение по умолчанию | Описание |
|---|---|---|---|
| locale | String | Язык браузера | Указывает код используемого языка для тайлов |
| tileType | String | t | Указывает тип тайла: карты («t») либо пробки («j») |
Пример использования
const navitelTile = nmapi.extension.leaflet.createTileLayer({
locale: navitel.LocaleCode.ru_RU
})
const navitelJams = nmapi.extension.leaflet.createTileLayer({
locale: navitel.LocaleCode.ru_RU,
tileType: navitel.TileType.Jams,
})
API позволяет автоматически строить маршрут между заданными точками, получать информацию о протяженности маршрута и ориентировочном времени прохождения маршрута.
Доступны следующие виды транспортных средств, для которых прокладывается маршрут:
Маршрут можно строить по двум точкам и более, с учетом пробок или без.
Уникальный идентификатор маршрута.
| Конструктор | Описание |
|---|---|
| routeId(<options>) | Генерация ключа маршрута |
Параметры
| Параметр | Тип | Значение по умолчанию | Описание |
|---|---|---|---|
| objectType | Integer | Указывает тип ТС, для которого прокладывается маршрут. Возможные значения: INVALID = 0; PEDESTRIAN = 1; BICYCLE = 2; CAR = 3; TAXI = 4; BUS = 5; EMERGENCY = 6; DELIVERY = 7; TRUCK = 8; | |
| jams | Boolean | False | Учитывает пробки при прокладке маршрута |
| waypointsList | LonLat[] | Указывает массив точек для построения маршрута | |
| trackLimits | TrackLimits | Указывает массогабаритные ограничения ТС |
Пример использования
const routeId = await nmapi.route.routeId({
objectType: nmapi.route.ObjectType.BUS,
waypointsList: [
[59.938806, 30.314278], // St. Petersburg
[55.755773, 37.617761], // Moscow
[55.028739, 82.906928], // Novosibirsk
]
})
Метаданные маршрута
| Конструктор | Описание | Возвращает | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| routeMetadata(<RouteId>) | Получение метаданных маршрута | length_meters - протяженность маршрута в метрах duration_seconds - ориентировочное время прохождения маршрута либо ошибку с кодом
|
Пример использования
const meta = await nmapi.route.routeMetadata({ routeId })
Геометрия маршрута
| Конструктор | Описание | Возвращает | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| routeGeometry(<RouteId>, viewport) | Получение геометрии маршрута | GeoLine[] lines - геометрию маршрута в виде последовательного набора полилиний в пространстве либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| viewport | viewport | Задает область, для которой будет получена геометрия маршрута, геометрия будет генерализована с учетом масштаба. Если параметр не задан, будет получена геометрия всего маршрута. |
Пример использования
const geom = await nmapi.route.routeGeometry({
routeId,
viewport: {
widthPx: 640,
heightPx: 480,
zoomLevel: 9,
centerCoordinates: {
latitude: 55.75,
longitude: 37.70,
},
},
})
В данном разделе приводится API для осуществления поиска.
Полнотекстовый поиск
| Конструктор | Описание | Возвращает | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TextSearchRequest (<options>) | Поисковый запрос | [map_objects] массив объектов на карте (типа MapObject) либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| api_key | string | Действующий API ключ |
| search_pattern | string | Поисковый шаблон, длиной не менее 3-х символов |
| offset | uint32 | Номер элемента, с которого требуется начать выдавать результат |
| limit | uint32 | Максимальное количество элементов в выдаче |
| pivot | LonLat | Точка пространства, относительно близости к которой, будут выдаваться наиболее релевантные результаты поиска |
| language_id | string | Язык в виде тэга BCP 47 |
Пример использования
const list = await nmapi.search.textSearch({ searchPattern, pivot: { longitude: 37.618423, latitude: 55.751244 } })
const searchPattern = query.value
results.innerHTML = list.map(item => `
<tr>
<td>${item.coordinates.longitude}</td>
<td>${item.coordinates.latitude}</td>
<td>
Country: ${item.address.country}
<br />Region: ${item.address.region}
<br />Parish: ${item.address.parish}
<br />City: ${item.address.city}
<br />District: ${item.address.district}
<br />Street: ${item.address.street}
<br />Building: ${item.address.building}
</td>
<td>${item.label}</td>
</tr>
`).join('\n')
Поиск ближайшего объекта
| Конструктор | Описание | Возвращает | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FindNearestObjectRequest (<options>) | Поиск ближайшего объекта | map_objects (типа MapObject) -ближайший объект на карте либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| api_key | string | Действующий API ключ |
| coordinates | LonLat | Точка в пространстве, относительно которой ищется ближайший объект |
| language_id | string | Язык в виде тэга BCP 47 |
Пример использования
const item = await nmapi.search.findNearestObject({
coordinates: {
latitude: latlng.lat,
longitude: latlng.lng,
},
locale: navitel.LocaleCode.ru_RU, // optional
})
Список стран по маске
| Конструктор | Описание | Возвращает | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListCountriesRequest(<options>) | Список стран по маске. Результат выдачи зависит от языка ввода | [countries (типа ListItem)] – массив стран либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| api_key | string | Действующий API ключ |
| mask | string | Маска поиска, с которой начинается название страны |
Список городов по маске и стране
| Конструктор | Описание | Возвращает | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListCitiesRequest (<options>) | Список городов по маске и стране | [cities (типа ListItem)] – массив городов либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| api_key | string | Действующий API ключ |
| country_id | string | Идентификатор страны из запроса ListCountries |
| mask | string | Маска поиска, с которой начинается название города |
| limit | uint32 | Максимальное количество элементов в выдаче |
Список улиц по маске и городу
| Конструктор | Описание | Возвращает | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListStreetsRequest (<options>) | Список улиц по маске и городу | [streets (типа ListItem)] – массив улиц либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| api_key | string | Действующий API ключ |
| city_id | string | Идентификатор города из запроса ListCities |
| mask | string | Маска поиска, с которой начинается название улицы |
| limit | uint32 | Максимальное количество элементов в выдаче |
Список зданий по маске и улице
| Конструктор | Описание | Возвращает | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListBuildingsRequest (<options>) | Список зданий по маске и улице | [buildings (типа ListItem)] - массив зданий либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| api_key | string | Действующий API ключ |
| street_id | string | Идентификатор улицы из запроса ListStreets |
| mask | string | Маска поиска, с которой начинается название города |
| limit | uint32 | Максимальное количество элементов в выдаче |
Полный адрес для элемента адресного поиска
| Конструктор | Описание | Возвращает | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CompleteAddressRequest (<options>) | Полный адрес для элемента адресного поиска | address (типа Address) – полный адрес объекта либо ошибку с кодом
|
Параметры
| Параметр | Тип | Описание |
|---|---|---|
| api_key | string | Действующий API ключ |
| list_item_id | string | Идентификатор объект из List* запроса |
| language_id | string | Язык в виде тэга BCP 47 |
JS API for Navitel maps is a set of JavaScript components designed to access cartographic services on web pages.
Capabilities:
1. Get an API key.
A valid API key is required to work with JS API for Navitel maps. It can be obtained via the following e-mail: ap@navitel.ru.
2. Connect the API and Leaflet libraries.
In order to connect Leaflet libraries with the API, add the following lines to the HTML page header:
<head>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet-src.js"></script>
<script src="http://webmapapi.navitel.ru/index.umd.js"></script>
</head>
3. Create a map container.
To create a container for map storage, add any HTML block element. The map will take all of it.
<body>
<div id="map"></div>
</body>
4. Create a map.
To create a map with tiles, add the following lines to the body section:
<script>
const nmapi = navitel.createWebMapApi('6e982defee3eb78ab24890068d57fff04b4f7ae5', {
locale: navitel.LocaleCode.ru_RU
})
const map = L.map('map', {
center: [55.75, 37.70],
zoom: 9,
})
const navitelTile = nmapi.extension.leaflet.createTileLayer({
locale: navitel.LocaleCode.ru_RU
})
navitelTile.addTo(map)
</script>
This example depicts two parameters used for the map:
A geographical point with a certain latitude and longitude.
| Property | Type | Description |
|---|---|---|
| latitude | Number | Latitude in degrees, value range [-90, 90] |
| longitude | Number | Longitude in degrees, value range [-180, 180] |
Describes the field of view: a rectangular area on the map in pixel coordinates.
| Property | Type | Description |
|---|---|---|
| widthPx | uint32 | Width in pixels |
| heightPx | uint32 | Height in pixels |
| zoomLevel | uint32 | Zoom factor in the range from 3 to 18, where 3 is the minimum and 18 is the maximum scale. |
| centerCoordinates | LatLng | Map center coordinates in [latitude, longitude] format |
A sequence of points polyline
| Property | Type | Description |
|---|---|---|
| points | LonLat[] | Sequence of points |
Describes weight and size restrictions when building a route
| Property | Type | Description |
|---|---|---|
| totalWeightKg | Integer | Gross vehicle mass in kilograms |
| axleWeightKg | Integer | Vehicle axle load in kilograms |
| widthMeters | Integer | Vehicle width in meters |
| heightMeters | Integer | Vehicle height in meters |
| lengthMeters | Integer | Vehicle length in meters |
Describes the address hierarchy.
| Property | Type | Description |
|---|---|---|
| country | string | Country |
| region | string | Region |
| parish | string | County, parish |
| city | string | City |
| district | string | District |
| street | string | Street |
| building | string | Building |
Describes an object on the map.
| Property | Type | Description |
|---|---|---|
| coordinates | LonLat | Object coordinates |
| address | Address | Object address |
| label | string | Free-form text description, e.g. store name. Can be left blank. |
Describes an element of an address search result.
| Property | Type | Description |
|---|---|---|
| id | string | A unique identifier used in address search at lower hierarchy levels (e.g. id form ListCountries in ListCities) |
| name | string | Name of the element from address search result. E.g. country name |
| coordinates | LonLat | Coordinates |
This section describes the map API, which is used to create and manage maps on web pages.
| Constructor | Description |
|---|---|
| createWebMapApi( <string>apikey, <options>) | Creates an object that will be further accessed by the API |
Attributes
| Attribute | Type | Default value | Description |
|---|---|---|---|
| locale | String | browser language | Specifies language code used for the map |
Usage sample
const nmapi = navitel.createWebMapApi('6e982defee3eb78ab24890068d57fff04b4f7ae5', {
locale: navitel.LocaleCode.ru_RU
})
| Constructor | Description |
|---|---|
| L.map(<string> id, <Map options> options?) | Initializes a map in the DOM node of the element with a specified id and an optional set of options (described below) |
Attributes
A full description of possible method parameters is available in the Leaflet 1.6.0 API library documentation here: https://leafletjs.com/reference-1.6.0.html#map-option
Usage sample
Map initialization in
const map = L.map('map', {
center: [55.75, 37.70],
zoom: 9,
})
| Constructor | Description |
|---|---|
| createTileLayer(<options>) | Creating a tile layer. |
Attributes
| Attribute | Type | Default value | Description |
|---|---|---|---|
| locale | String | browser language | Specifies language code used for the tile |
| tileType | String | t | Specifies tile type: maps (“t”) or traffic jam (“j”) |
Usage sample
const navitelTile = nmapi.extension.leaflet.createTileLayer({
locale: navitel.LocaleCode.ru_RU
})
const navitelJams = nmapi.extension.leaflet.createTileLayer({
locale: navitel.LocaleCode.ru_RU,
tileType: navitel.TileType.Jams,
})
The API allows you to automatically build a route between specified points, get route length and approximate time to destination.
A route can be built for the following vehicle types:
A route can be built from two or more points, with or without traffic jam display.
Unique route id
| Constructor | Description |
|---|---|
| routeId(<options>) | Route key generation |
Attributes
| Attribute | Type | Default value | Description |
|---|---|---|---|
| objectType | Integer | Specifies vehicle type to build a route for. Possible values: INVALID = 0; PEDESTRIAN = 1; BICYCLE = 2; CAR = 3; TAXI = 4; BUS = 5; EMERGENCY = 6; DELIVERY = 7; TRUCK = 8; | |
| jams | Boolean | False | Enables traffic jam tracking when building a route. |
| waypointsList | LonLat[] | Specifies an array of points for a route. | |
| trackLimits | TrackLimits | Indicates weight and size limitations for the vehicle |
Usage sample
const routeId = await nmapi.route.routeId({
objectType: nmapi.route.ObjectType.BUS,
waypointsList: [
[59.938806, 30.314278], // St. Petersburg
[55.755773, 37.617761], // Moscow
[55.028739, 82.906928], // Novosibirsk
]
})
Route metadata
| Constructor | Description | Returns | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| routeMetadata(<RouteId>) | Getting route metadata | length_meters - route length in meters duration_seconds - approximate time to destination Or a codified error
|
Usage sample
const meta = await nmapi.route.routeMetadata({ routeId })
Route geometry
| Constructor | Description | Returns | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| routeGeometry(<RouteId>, viewport) | Getting route geometry | GeoLine[] lines - route geometry in the shape of a sequential set of polylines in space Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| viewport | viewport | Sets the viewport area for route geometry, which will be generalized according to the scale. If the attribute is not set, the entire route geometry will be shown |
Usage sample
const geom = await nmapi.route.routeGeometry({
routeId,
viewport: {
widthPx: 640,
heightPx: 480,
zoomLevel: 9,
centerCoordinates: {
latitude: 55.75,
longitude: 37.70,
},
},
})
This section describes API for search purposes
Full-text search
| Constructor | Description | Returns | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TextSearchRequest (<options>) | Search query | [map_objects] array of objects on the map (MapObject type) Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| api_key | string | Active API key |
| search_pattern | string | Search pattern no shorter than three symbols long |
| offset | uint32 | Element number to start outputting the result from |
| limit | uint32 | Maximum number of elements in query |
| pivot | LonLat | Location pivot for closest and most relevant search results |
| language_id | string | BCP 47 language code |
Usage sample
const list = await nmapi.search.textSearch({ searchPattern, pivot: { longitude: 37.618423, latitude: 55.751244 } })
const searchPattern = query.value
results.innerHTML = list.map(item => `
<tr>
<td>${item.coordinates.longitude}</td>
<td>${item.coordinates.latitude}</td>
<td>
Country: ${item.address.country}
<br />Region: ${item.address.region}
<br />Parish: ${item.address.parish}
<br />City: ${item.address.city}
<br />District: ${item.address.district}
<br />Street: ${item.address.street}
<br />Building: ${item.address.building}
</td>
<td>${item.label}</td>
</tr>
`).join('\n')
Search for nearest object
| Search for nearest object | Description | Returns | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FindNearestObjectRequest (<options>) | Search for the nearest object | map_objects (MapObject type) - closest object on the map Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| api_key | string | Active API key |
| coordinates | LonLat | Location pivot to search the closest object for |
| language_id | string | BCP 47 language code |
Usage sample
const item = await nmapi.search.findNearestObject({
coordinates: {
latitude: latlng.lat,
longitude: latlng.lng,
},
locale: navitel.LocaleCode.ru_RU, // optional
})
List of countries by mask
| Constructor | Description | Returns | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListCountriesRequest(<options>) | List of countries by mask. Search result depends on input language | [countries (ListItem type)] – an array of countries Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| api_key | string | Active API key |
| mask | string | Search mask that the country name begins with |
City list by mask and country
| Constructor | Description | Returns | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListCitiesRequest (<options>) | City list by mask and country | [cities (ListItem type)] – array of cities Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| api_key | string | Active API key |
| country_id | string | Country id from ListCountries query |
| mask | string | Search mask that the city name begins with |
| limit | uint32 | Maximum number of elements in the output |
List of streets by mask and city
| Constructor | Description | Returns | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListStreetsRequest (<options>) | List of streets by mask and city | [streets (ListItem type)] – array of streets Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| api_key | string | Active API key |
| city_id | string | City id from ListCities query |
| mask | string | Search mask that the street name begins with |
| limit | uint32 | Maximum number of elements in the output |
List of buildings by mask and street
| Constructor | Description | Returns | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ListBuildingsRequest (<options>) | List of buildings by mask and street | [buildings (ListItem type)] - array of buildings Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| api_key | string | Active API key |
| street_id | string | Street id from ListStreets query |
| mask | string | Search mask that the street name begins with |
| limit | uint32 | Maximum number of elements in the output |
Full address for address search element
| Constructor | Description | Returns | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CompleteAddressRequest (<options>) | Full address for address search element | address (Address type) – full address of an object Or a codified error
|
Attributes
| Attribute | Type | Description |
|---|---|---|
| api_key | string | Active API key |
| list_item_id | string | Object id from List* query |
| language_id | string | BCP 47 language code |