Interface HonuaPopupProps

Props for HonuaPopup.

interface HonuaPopupProps {
    binding?: HonuaMapPackagePopupBinding;
    layer: string;
    onError?: ((error: unknown) => void);
}

Properties

Optional popup binding (source id, title, template, field).

layer: string

The layer id whose feature clicks open the popup.

onError?: ((error: unknown) => void)

Called if binding the popup throws (e.g. no popupFactory configured).