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.
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 offlistImages(), the engine's PUBLIC enumeration — this once readmap.style._images, an engine-private field: it worked, but nothing contractual guaranteed it across versions. An engine withoutlistImages()keeps its images; the patterns are forgotten regardless.