mapbox-maps-flutter
mapbox-maps-flutter copied to clipboard
IconAnchor enum is not encoded/decoded correctly
IconAnchor.BOTTOM_RIGHT is endoced as 'bottom_right' where mapbox expects 'bottom-right' (- vs _) therefore it does not work.
This line should be fixed https://github.com/mapbox/mapbox-maps-flutter/blob/1daef17c48fd927db442a5d19f7aca06a1ffdc63/lib/src/style/layer/symbol_layer.dart#L278
Enhanced enums should be used for this purpose.
Hi @bf-vs, thank you for reporting this issue, it is addressed in https://github.com/mapbox/mapbox-maps-flutter/pull/523.