@magiclane/maps-sdk
    Preparing search index...

    Class SearchableParameterList

    Searchable parameters list. Container for different types of values.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get first(): T

      Returns T

    • get isEmpty(): boolean

      Returns boolean

    • get isNotEmpty(): boolean

      Returns boolean

    • get last(): T

      Returns T

    • get length(): number

      Returns number

    • get mapId(): number

      Returns number

    • get pointerId(): any

      Returns any

    Methods

    • Returns the parameters as a deeply structured JSON list. Each entry includes the key, value, and, if available, name. The value is formatted according to its type. Only parameters with non-null key, value, and type are included.

      Returns Record<string, any>[]

    • Search for all occurrences of a parameter identifier in a list.

      Parameters

      • key: string

        Parameter key as string

      Returns ParameterList

      The list of parameters. Is empty if there are no matches.

      An exception if it fails.

    • Search for first occurrence of a parameter identifier and get the name of the parameter.

      Parameters

      • key: string

        Parameter key as string

      Returns string

      The name of the parameter if found. Empty string otherwise.

      An exception if it fails.

    • Search for first occurrence of a parameter identifier.

      Parameters

      • key: string

        Parameter key as string

      Returns GemParameter

      GemParameter object. If not found then GemParameter.key is an empty string.

      An exception if it fails.

    • Parameters

      • separator: string = ''

      Returns string

    • Type Parameters

      • R

      Parameters

      Returns R

    • Registers an object for auto release. When the object is not used anymore, it will be released automatically from C++.

      Parameters

      • pointerId: any

        The pointer ID to register

      Returns void

    • Returns number

    • Type Parameters

      • T

      Parameters

      • pointerId: any
      • mapId: number
      • className: string
      • initializer: (data: any, mapId: number) => T

      Returns GemList<T>