map.apps Bundle APIs 4.20.0
    Preparing search index...

    Type Alias VisibilityIssue

    VisibilityIssue:
        | "not-visible"
        | "parent-not-visible"
        | "hidden-by-opacity"
        | "parent-hidden-by-opacity"
        | "invisible-at-extent"
        | "invisible-at-scale"
        | "invisible-at-time-extent"
        | "unsupported-in-2d"
        | "unsupported-srs"
        | "not-loaded"
        | "load-failed"
        | "no-layer-view"
        | "root-layer-not-ready"
        | "destroyed"

    Represents a single issue that prevents a layer from being visible.

    NOTE: More issue types may be added in future versions.

    Type declaration

    • "not-visible"

      The (sub-)layer is not configured to be visible.

    • "parent-not-visible"

      The (sub-)layer is not visible, because some of its parent(s) are not configured to be visible.

    • "hidden-by-opacity"

      The (sub-)layer is invisible because its opacity is set to 0.

    • "parent-hidden-by-opacity"

      The (sub-)layer is invisible because some of its parent(s) opacity is set to 0.

    • "invisible-at-extent"

      The "full extent" of the (sub-)layer is not visible in the current view.

    • "invisible-at-scale"

      The (sub-)layer cannot be shown at the current scale.

    • "invisible-at-time-extent"

      The (sub-)layer cannot be shown at the current time extent.

    • "unsupported-in-2d"

      The layer can only be shown in 3D. This flag is only available for layers (not for sub-layers).

    • "unsupported-srs"

      The current spatial reference system is not supported. This flag is only available for layers (not for sub-layers).

    • "not-loaded"

      The layer is either not loaded at all or still loading. This flag is only available for layers (not for sub-layers).

    • "load-failed"

      The layer failed to load, for example due to a network problem. This flag is only available for layers (not for sub-layers).

    • "no-layer-view"

      No layer view is present for this layer. This is a generic error where we can't determine the actual cause. This flag is only available for layers (not for sub-layers).

    • "root-layer-not-ready"

      The sub layer is not ready to be displayed, because the layer to which it belongs has issues. This flag is only available for sub-layers. A sublayer is marked by this state if the root layer has one of the following states: not-loaded, load-failed, no-layer-view, unsupported-srs, unsupported-in-2d.

    • "destroyed"

      This info object has been destroyed, likely because the associated (sub-)layer was removed from the map.