StringPredicate: ((spriteID) => boolean)

Type declaration

    • (spriteID): boolean
    • A predicate which determines whether to draw a shield for a particular sprite ID. This allows the library to consume a subset of sprite IDs passed in from maplibre while allowing other code to handle other sprite IDs.

      Parameters

      • spriteID: string

      Returns boolean

Generated using TypeDoc