removeSource method

dynamic removeSource(
  1. String id
)

Remove a source from this stylesheet, given its id. @param {string} id id of the source to remove @throws {Error} if no source is found with the given ID

Implementation

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