---
title: "MTRasterDEMSource.setTiles | Mobile sdk | Mobile sdk android | Android"
description: "setTiles"
---

> 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.

# MTRasterDEMSource.setTiles

fun [setTiles](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.source/-m-t-raster-d-e-m-source/set-tiles/)(tiles: [Array](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html)<[URL](https://developer.android.com/reference/kotlin/java/net/URL.html)\>, mapViewController: [MTMapViewController](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map/-m-t-map-view-controller/))

Sets the tiles of the source. Used for updating the source data.

#### Parameters

tiles

list of URLs with tile resources.

mapViewController

MTMapViewController which holds the source.
