slotName

Parameters

slotName

determines the position of the route layers in the map style. The route line will default to the RouteLayerConstants.DEFAULT_ROUTE_LINE_SLOT slot. To change, add your own custom slot before route line initialization and provide the slot name as a option here. see https://docs.mapbox.com/style-spec/reference/slots/ and StyleManager.getStyleSlots