@americana/maplibre-shield-generator
    Preparing search index...

    Type Alias StringPredicate

    StringPredicate: (spriteID: string) => 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.

    Type Declaration

      • (spriteID: string): boolean
      • Parameters

        • spriteID: string

        Returns boolean