---
title: "removeSourceById | Mobile sdk | Mobile sdk android | Android"
description: "removeSourceById"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# removeSourceById

fun [removeSourceById](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style/-m-t-style/remove-source-by-id/)(sourceId: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))

Removes a source by its identifier if present.
