maplibre-compose
Toggle table of contents
0.11.1
common
Platform filter
common
Switch theme
Search in API
maplibre-compose
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
)