MapLibre Compose API Reference
Toggle table of contents
0.12.1
common
Target filter
common
Switch theme
Search in API
Skip to content
MapLibre Compose API Reference
maplibre-compose
/
org.maplibre.compose.sources
/
rememberRasterSource
remember
Raster
Source
@
Composable
fun
rememberRasterSource
(
uri
:
String
,
tileSize
:
Int
=
SourceDefaults.RASTER_TILE_SIZE
)
:
RasterSource
(
source
)
Remember a new
RasterSource
with the given
tileSize
from the given
uri
.
@
Composable
fun
rememberRasterSource
(
tiles
:
List
<
String
>
,
options
:
TileSetOptions
=
TileSetOptions()
,
tileSize
:
Int
=
SourceDefaults.RASTER_TILE_SIZE
)
:
RasterSource
(
source
)