Types
import type { OpenFeatureStreamOptions, PopupPositionResult, PopupPositionValue, Alignment, PopupDockPosition } from "@arcgis/map-components/components/arcgis-popup/types.js";

Type definitions

OpenFeatureStreamOptions

Type definition

Options for opening a popup with a feature stream or promise batches.

diagnostics

Property
Type
FetchPopupFeaturesDiagnostics | undefined

location

Property
Type
null | undefined | Point

The location to apply when the first feature becomes available. If no location is provided, the first feature's geometry determines the popup location.

featureStream

Property
Type
AsyncGenerator<Graphic>

Streams features into the popup as they become available. When provided, this takes precedence over promises.

PopupPositionResult

Type definition
Type
"bottom-center" | "bottom-end" | "bottom-left" | "bottom-right" | "bottom-start" | "top-center" | "top-end" | "top-left" | "top-right" | "top-start"

PopupPositionValue

Type definition

Alignment

Type definition

PopupDockPosition

Type definition

DockOptions

Type definition

buttonEnabled

Property
Type
boolean | undefined

position

Property
Type
PopupDockPosition | undefined

breakpoint

Property
Type
DockOptionsBreakpoint | boolean | undefined

PopupPositionVariable

Type definition
Type
"auto" | "bottom-end" | "bottom-start" | "top-end" | "top-start"

DockOptionsBreakpoint

Type definition

width

Property
Type
number | undefined

height

Property
Type
number | undefined