For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages
are available by appending .md to any URL.
removeLayer
Removes a layer from the map.
Parameters
layer
Layer to be removed.
Throws
if layer does not exist on the map.