Package com.pointrlabs.core.map.workers
Class CustomDrawingsWorker
-
- All Implemented Interfaces:
public final class CustomDrawingsWorker
-
-
Constructor Summary
Constructors Constructor Description CustomDrawingsWorker()
-
Method Summary
Modifier and Type Method Description final Unit
addLayer(MapboxMap mapboxMap, Level level, PTRMapLayer layer, String belowLayerIdentifier, Function2<Boolean, String, Unit> completion)
final Unit
removeLayer(MapboxMap mapboxMap, String layerIdentifier, Function2<Boolean, String, Unit> completion)
final Unit
addFeatures(MapboxMap mapboxMap, List<Feature> features, String layerIdentifier, Function2<Boolean, String, Unit> completion)
final Unit
removeFeatures(MapboxMap mapboxMap, List<Feature> features, Function2<Boolean, String, Unit> completion)
final Unit
removeAllFeatures(MapboxMap mapboxMap, Function2<Boolean, String, Unit> completion)
final Feature
getFeature(String id)
-
-
Method Detail
-
addLayer
@UiThread() final Unit addLayer(MapboxMap mapboxMap, Level level, PTRMapLayer layer, String belowLayerIdentifier, Function2<Boolean, String, Unit> completion)
-
removeLayer
@UiThread() final Unit removeLayer(MapboxMap mapboxMap, String layerIdentifier, Function2<Boolean, String, Unit> completion)
-
addFeatures
@UiThread() final Unit addFeatures(MapboxMap mapboxMap, List<Feature> features, String layerIdentifier, Function2<Boolean, String, Unit> completion)
-
removeFeatures
@UiThread() final Unit removeFeatures(MapboxMap mapboxMap, List<Feature> features, Function2<Boolean, String, Unit> completion)
-
removeAllFeatures
@UiThread() final Unit removeAllFeatures(MapboxMap mapboxMap, Function2<Boolean, String, Unit> completion)
-
getFeature
final Feature getFeature(String id)
-
-
-
-