public final class MapUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addLayerToMap(com.mapbox.mapboxsdk.maps.MapboxMap mapboxMap,
com.mapbox.mapboxsdk.style.layers.Layer layer,
java.lang.String idBelowLayer)
Generic method for adding layers to the map.
|
public static void addLayerToMap(@NonNull com.mapbox.mapboxsdk.maps.MapboxMap mapboxMap, @NonNull com.mapbox.mapboxsdk.style.layers.Layer layer, @Nullable java.lang.String idBelowLayer)
mapboxMap
- that the current mapView is usinglayer
- a layer that will be added to the mapidBelowLayer
- optionally providing the layer which the new layer should be placed below