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

    Interface PortalFeatureServiceOpenResult

    Feature Service open result: includes a ready-to-use FeatureLayerCompat.

    interface PortalFeatureServiceOpenResult {
        baseUrl: string;
        client: HonuaClient;
        item: PortalItem;
        layer: FeatureLayerCompat;
        layerId: number;
        serviceId: string;
        type: "feature-service";
    }

    Hierarchy

    • PortalOpenResultBase
      • PortalFeatureServiceOpenResult
    Index

    Properties

    baseUrl: string

    Service base (.../rest/services-prefixed origin/prefix) without the service segment.

    client: HonuaClient

    Authenticated client bound to baseUrl, carrying the portal credential.

    Resolved portal item.

    layerId: number
    serviceId: string

    Service (folder/name) id parsed from the item URL.

    type: "feature-service"