Application Load
IDeliveryMapOptions
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IDeliveryMapOptionsSettings passed to the map provider.
app/interfaces/orionplace/cart/IDeliveryMap.tsexport interface IDeliveryMapOptions {
// Element that receives the map.
container: HTMLElement;
// `map_key` from `store.init.public_keys`.
apiKey: string;
// Map language: `ru_RU` or `en_US`.
language: string;
// Initial center: the average of the marker coordinates.
center: IDeliveryMapPosition;
// Markers to draw.
markers: IDeliveryMapMarker[];
// ID of the marker drawn as active, if any.
activeId?: string;
// Called with the marker ID when a marker is clicked.
onSelect: (id: string) => void;
}