geoview-core - v2.2.0
    Preparing search index...

    Function setStoreLayerBoundsForLayerAndParents

    • Recalculates and stores bounds for a layer and all of its parent groups.

      Parameters

      • mapId: string

        The unique identifier of the map instance.

      • gvLayer: AbstractBaseGVLayer

        The starting layer for which bounds should be computed.

      • mapProjection: Projection
      • stops: number

      Returns Promise<void>

      A promise that resolves once bounds have been computed and propagated up the entire parent hierarchy.

      This method recalculates the bounds for the provided layer and then iteratively walks up the layer hierarchy, recalculating and storing bounds for each parent group layer.