tangram-docs icon indicating copy to clipboard operation
tangram-docs copied to clipboard

document Leaflet layer removal

Open meetar opened this issue 7 years ago • 0 comments

Removing the Leaflet layer (e.g. layer.remove()) will cause all the Tangram resources to be deallocated. It should work as long as you avoid having more than one map loaded at a time, and some users have done this with Leaflet layer controls.

meetar avatar Mar 24 '17 20:03 meetar