RAMP4 - v4.21.0
    Preparing search index...

    Class QuickCacheInternal

    Manages the quick lookup of attributes and geometries for individual features. Used when it makes sense to just download a small set of data instead of the entire layer.

    Index

    Constructors

    Properties

    isPoint: boolean

    Used to determine if we need to cache geometry at different scales.

    Methods

    • Get a cached extent of a feature

      Parameters

      • key: number

        the OID of the feature

      Returns Extent | undefined

      the cached extent of the feature, if it exists

    • Get a cached geometry of a feature

      Parameters

      • key: number

        the OID of the feature

      • scale: number | undefined = undefined

        the map scale the geometry is valid at. Ignored / not required for Point/Multipoint geometry.

      Returns BaseGeometry | undefined

      the cached geometry of the feature, if it exists

    • Cache the extent of a feature

      Parameters

      • key: number

        the OID of the feature

      • extent: Extent

        the extent of the feature

      Returns void

    • Cache the geometry of a feature

      Parameters

      • key: number

        the OID of the feature

      • geom: BaseGeometry

        the geometry of the feature

      • scale: number | undefined = undefined

        the map scale the geometry was drawn at. Ignored / not required for Point/Multipoint geometry.

      Returns void