removeDataInspectorControl

Deactivates the Data Inspector control and cleans up its associated resources.

This function performs the following cleanup steps:

  1. Sets the DataInspectorControl.on state to false.

  2. Triggers the UI to hide its overlay/view components.

  3. Unregisters all event listeners (such as VECTOR_UPDATE) previously attached to this MapController to prevent memory leaks and unnecessary background processing.

Call this when the user exits "inspection" or "picker" mode.