Closed Nikituh closed 6 years ago
Our current routing sample uses two different layers:
routeLayer
startStopLayer
When implementing transparent route, I had to create to create a routeInstructionLayer in order to keep the instructions full opacity.
routeInstructionLayer
Unable to reproduce if I comment out one of layer addings:
// mapView.layers.add(routeInstructionLayer)
Easily reproducible with local library:
implementation(name:'carto-mobile-sdk-4.1.2.466', ext:'aar')
Cannot reproduce with release version:
implementation 'com.carto:carto-mobile-sdk:4.1.2@aar'
Good spotting! This is regression in post 4.1.2 code related to layer opacity feature. Fixed now in master branch.
How it happened:
Our current routing sample uses two different layers:
routeLayer
for lines and intructionsstartStopLayer
for start and stop markers.When implementing transparent route, I had to create to create a
routeInstructionLayer
in order to keep the instructions full opacity.How do I know it's to do with VectorLayers?
Unable to reproduce if I comment out one of layer addings:
// mapView.layers.add(routeInstructionLayer)
Steps to reproduce:
How do I know it's a new issue?
Easily reproducible with local library:
implementation(name:'carto-mobile-sdk-4.1.2.466', ext:'aar')
Cannot reproduce with release version:
implementation 'com.carto:carto-mobile-sdk:4.1.2@aar'