Перейти к основному содержимому

typeAlias

AddEventResult​

Результат добавления события (объект события или ошибка).

RoadEvent|AddEventError

AddressComponent​

Компонент адреса: улица, номер дома или словесное описание местоположения.

AddressStreet|AddressNumber|AddressLocation

AssetSource​

Источник данных из React Native assets или файла.

ImageRequireSource|FileSource

AttributeValue​

Свойства объектов карты.

Empty|boolean|number|Int64|string|UInt8[]|AttributeValue[]|[string, AttributeValue][]

ByteDataLike​

Бинарные данные изображения или модели.

ArrayBuffer|ArrayBufferView|readonly number[]

CategoryGeoContext​

Географический контекст, по которому SDK уточнит регион при запросе категорий.

GeoRect|GeoPoint

Certificate​

SSL-сертификат.

SystemCertificate|CertificateFromFile|CertificateFromAsset
"topLeft"|"topCenter"|"topRight"|"centerLeft"|"center"|"centerRight"|"bottomLeft"|"bottomCenter"|"bottomRight"

DynamicFilter​

Динамические фильтры поисковой выдачи.

FlagFilter|RangeFilter|SortingFilter

FileSource​

Путь или URI файла.

string|{ uri: string }

GestureActionPoint​

Задает правило обработки событий карты.

GestureActionEventCenter|GestureActionMapPosition|GestureActionTargetGeoPoint

IndoorBuildingMode​

Режим отображения здания.

ActiveLevelMode|OverviewMode

Int8​

Integer in range -128..127 (8-bit signed).

number

Int16​

Integer in range -32768..32767 (16-bit signed).

number

Int32​

Integer in range -2147483648..2147483647 (32-bit signed).

number

Int64​

Integer in range -(2^63)..2^63-1 (64-bit signed).

bigint

KeySource​

Источник ключа.

KeyFromAsset|KeyFromFile|KeyFromString

MapAppearance​

BySystem|Fixed

MapControllerState​

Snapshot of the map controller lifecycle, as consumed by MapView.

While the map is being created the snapshot carries the creation options, so the view can paint its cover in the loading theme; once the map is created — the live controller.

A snapshot is plain data, not a live object: produce it with the useMapController hook, with the readyMapController factory, or construct it in any state container that re-renders the owner on change.

Ownership: a snapshot never transfers ownership of the controller, and nothing in the SDK destroys one implicitly. Whoever created the controller may call destroy() explicitly, at a moment when nothing uses the map; publish a closed snapshot first so consumers see the map end its life through the state.

{ options: MapControllerOptions; status: "creating" }|{ controller: MapController; status: "ready" }|{ status: "closed" }|{ error: Error; status: "error" }

MapRenderMode​

Rendering backend of the map on Android; ignored on iOS.

  • 'surface' — SurfaceView (default). The most efficient mode: map frames are composited directly by the system, bypassing the view hierarchy drawing. The trade-off is that the map does not take part in UI animations: alpha/fade transitions do not apply to the map content, and a map appearing mid-animation may flash black.
  • 'texture' — TextureView. The map behaves like a regular view: alpha, animations, transformations and clipping all apply to its content. Costs an extra composition step per frame, so performance and battery are worse than 'surface'. Use it for a map that is animated, clipped or shown inside animated transitions.
"surface"|"texture"

ModelSize​

Размер модели. Если LogicalPixel, то размер модели не будет привязан к масштабу карты и останется неизменным относительно экрана. Если ModelScale, то размер модели умножится на коэффициент и привяжется к масштабу карты.

LogicalPixel|ModelScale

OpenStatus​

Opened|OpeningSoon|ClosingSoon|Closed

PointGeometryData​

Данные геометрии точечного объекта.

GeoPoint|GeoPointWithElevation

PublicTransportSchedule​

Расписание следования транспорта.

PublicTransportIntervalSchedule|PublicTransportPreciseSchedule

Range​

Описывает набор непрерывных или дискретных упорядоченных значений.

Borders|OrderedValues

RasterUrlTemplate​

DefaultRasterUrlTemplate|WmsRasterUrlTemplate

SearchHistoryItem​

Тип данных для элемента поиска, сохраненного в истории поиска: может быть объект или поисковый запрос.

DirectoryObject|SearchQueryWithInfo

SuggestHandler​

Обработчик выбора подсказки.

SuggestObjectHandler|PerformSearchHandler|IncompleteTextHandler

UInt8​

Integer in range 0..255 (8-bit unsigned).

number

UInt16​

Integer in range 0..65535 (16-bit unsigned).

number

UInt32​

Integer in range 0..4294967295 (32-bit unsigned).

number

UInt64​

Integer in range 0..2^64-1 (64-bit unsigned).

bigint

VendorConfig​

Переопределение конфигурации SDK.

None|VendorConfigFromAsset|VendorConfigFromFile|VendorConfigFromString

WorkTimeFilter​

Фильтр по времени работы объекта:

  • Открыт на конкретные дату и время.
  • Открыт сейчас.
  • Работает круглосуточно в указанный день недели или сегодня, если день не указан.
WeekTime|IsOpenNow|IsOpenAllDay