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

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

# getVariantUrls

fun [getVariantUrls](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-style-sprite/get-variant-urls/)(scale: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 1): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)\>

Returns the URLs for the different scale variants of the sprite.

#### Return

A list of URLs for the JSON and PNG files of the sprite.

#### Parameters

scale

The pixel scale (e.g., 1, 2, or 3).
