You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The getSourceIds and getLayerIds are existing methods of the MapLibreMapController class, they both return a Future<List<String>> of all the ids of the type.
I can't find a way to access the SourceProperties and LayerProperties objects of the sources and layers.
Maybe a SourceProperties? getSourceProperties(String sourceId)
and a LayerProperties? getLayerProperties(String layerId)
methods would be useful.
I hope its a reasonable request.
Regards, Tamas
Additional context
For example, if they would exist, it would be possible to toggle layer visibilities based on the source of the layers, or removing an entire source by id, and then add it back based on the saved properties...
The text was updated successfully, but these errors were encountered:
Feature Description
Hello!
The
getSourceIds
andgetLayerIds
are existing methods of theMapLibreMapController
class, they both return aFuture<List<String>>
of all the ids of the type.I can't find a way to access the
SourceProperties
andLayerProperties
objects of the sources and layers.Maybe a
SourceProperties? getSourceProperties(String sourceId)
and a
LayerProperties? getLayerProperties(String layerId)
methods would be useful.
I hope its a reasonable request.
Regards, Tamas
Additional context
For example, if they would exist, it would be possible to toggle layer visibilities based on the source of the layers, or removing an entire source by id, and then add it back based on the saved properties...
The text was updated successfully, but these errors were encountered: