Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
I'm trying to apply a linePattern to a LineLayer because a lineDasharray doesn't seem to work.
On iOS, the linePattern is rendering OK. On Android I only see a white line without pattern. I can see this in the logs: [JNI]: Error setting property: line-pattern expected a literal expression
Steps to Reproduce
Add a lineLayer
Add a linePattern
Run on Android
Expected Results
See the linePattern on the map.
Actual Results
linePattern not rendering on Android. On iOS no problem.
Platforms
android
Version of flutter maplibre_gl
0.20
Bug Description
I'm trying to apply a linePattern to a LineLayer because a lineDasharray doesn't seem to work.
On iOS, the linePattern is rendering OK. On Android I only see a white line without pattern. I can see this in the logs: [JNI]: Error setting property: line-pattern expected a literal expression
Steps to Reproduce
Expected Results
See the linePattern on the map.
Actual Results
linePattern not rendering on Android. On iOS no problem.
Code Sample
custom-tracks is a vector source:
unpaved-pattern is added to the map in this way: