removeConsumer

open override fun removeConsumer(layerId: String)

Removes a consumer. When it was the last one, releases the source's downloads, decoded pixels and fold state: with no layer left, a decoded tile is never bound, so its pixels would otherwise stay on the Java heap (~1.1 MB per tile per interval) for the life of the map.

Parameters

layerId

Id of the layer whose consumer registration is dropped.