Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-prefs
/
org.meshtastic.core.prefs.map
/
MapPrefsImpl
Map
Prefs
Impl
class
MapPrefsImpl
(
dataStore
:
MapDataStore
,
dispatchers
:
CoroutineDispatchers
)
:
MapPrefs
(
source
)
Members
Constructors
Map
Prefs
Impl
Link copied to clipboard
constructor
(
dataStore
:
MapDataStore
,
dispatchers
:
CoroutineDispatchers
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
hidden
Layer
Urls
Link copied to clipboard
open
override
val
hiddenLayerUrls
:
StateFlow
<
Set
<
String
>
>
layer
Opacity
Link copied to clipboard
open
override
val
layerOpacity
:
StateFlow
<
Set
<
String
>
>
map
Filters
Link copied to clipboard
open
override
val
mapFilters
:
StateFlow
<
MapFilterPrefs
>
map
Style
Link copied to clipboard
open
override
val
mapStyle
:
StateFlow
<
Int
>
network
Map
Layers
Link copied to clipboard
open
override
val
networkMapLayers
:
StateFlow
<
Set
<
String
>
>
Functions
await
Camera
Position
Link copied to clipboard
open
suspend override
fun
awaitCameraPosition
(
)
:
MapCameraPosition
?
await
Hidden
Layer
Urls
Link copied to clipboard
open
suspend override
fun
awaitHiddenLayerUrls
(
)
:
Set
<
String
>
await
Map
Style
Link copied to clipboard
open
suspend override
fun
awaitMapStyle
(
)
:
Int
await
Network
Map
Layers
Link copied to clipboard
open
suspend override
fun
awaitNetworkMapLayers
(
)
:
Set
<
String
>
set
Camera
Position
Link copied to clipboard
open
override
fun
setCameraPosition
(
position
:
MapCameraPosition
)
set
Map
Style
Link copied to clipboard
open
override
fun
setMapStyle
(
style
:
Int
)
update
Hidden
Layer
Urls
Link copied to clipboard
open
override
fun
updateHiddenLayerUrls
(
transform
:
(
Set
<
String
>
)
->
Set
<
String
>
)
update
Layer
Opacity
Link copied to clipboard
open
override
fun
updateLayerOpacity
(
transform
:
(
Set
<
String
>
)
->
Set
<
String
>
)
update
Map
Filters
Link copied to clipboard
open
override
fun
updateMapFilters
(
transform
:
(
MapFilterPrefs
)
->
MapFilterPrefs
)
update
Network
Map
Layers
Link copied to clipboard
open
override
fun
updateNetworkMapLayers
(
transform
:
(
Set
<
String
>
)
->
Set
<
String
>
)