slotName

Parameters

slotName

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