removeSource method

dynamic removeSource(
  1. String id
)

Removes a source from the map's style.

@param {string} id The ID of the source to remove. @returns {MapboxMap} this @example map.removeSource('bathymetry-data');

Implementation

removeSource(String id) => jsObject.removeSource(id);