GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Removes a layer's hatch patterns from the map, and forgets them.

      Both halves matter: a pattern taken off the map but still remembered would be drawn again by reregisterHatchPatterns at the next style change, for a layer that is gone.

      ⚠️ BY PREFIX (gl-hatch-<layerId>-), on both halves alike. The images are read off listImages(), the engine's PUBLIC enumeration — this once read map.style._images, an engine-private field: it worked, but nothing contractual guaranteed it across versions. An engine without listImages() keeps its images; the patterns are forgotten regardless.

      Parameters

      • mapArg: unknown

        The map (see registerHatchPattern).

      • layerId: string

        The GeoLeaf layer whose patterns go.

      Returns void