You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed to set line-gradient property for lineLayer layer. Error: color ramp must be an expression or valid color #2122
Map SDK:10.14.0
Using GEOJSON to add a line segment, the line-gradient parameter is incorrect. I am using the Java language. I coded it according to the format given in the tutorial, but the result of adding the line segment has been unsuccessful, i would like to ask how I set the correct line-gradient parameter in the Java environment. Thank you.
This is my code:
Expression[] expressions = new Expression[listPolyLine.size() * 2 + 2];
expressions[0] = Expression.linear();
expressions[1] = Expression.lineProgress();
Activity
Use unified initializer to workaround crash on startup (#2116)
Use unified initializer to workaround crash on startup (#2165)