@honua/sdk-js
    Preparing search index...

    Interface MapViewCompatOptions

    interface MapViewCompatOptions {
        center?: MapViewCenterLike;
        constraints?: MapViewConstraintsLike;
        container?: string | HTMLElement | null;
        eventBus?: CompatEventBus;
        extent?: MapViewExtentLike;
        highlightOptions?: MapViewHighlightOptionsLike;
        map?: unknown;
        padding?: MapViewPaddingLike;
        popup?: unknown;
        popupEnabled?: boolean;
        rotation?: number;
        scale?: number;
        spatialReference?: MapViewSpatialReferenceLike;
        ui?: { components?: readonly string[] };
        zoom?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    container?: string | HTMLElement | null
    eventBus?: CompatEventBus
    highlightOptions?: MapViewHighlightOptionsLike
    map?: unknown
    popup?: unknown
    popupEnabled?: boolean

    When false, a map click still emits click and does not open the popup.

    rotation?: number
    scale?: number
    spatialReference?: MapViewSpatialReferenceLike
    ui?: { components?: readonly string[] }

    Default UI widgets. Absent leaves the view chrome empty, because this compat view does not insert ArcGIS's built-in zoom until asked. components accepts zoom, attribution, and compass.

    zoom?: number