mapbox-maps-flutter icon indicating copy to clipboard operation
mapbox-maps-flutter copied to clipboard

mapboxMap.style.localizeLabels not working

Open kamami opened this issue 1 year ago • 3 comments

I am trying to change the language of the Mapbox Standard Style Map. But mapboxMap.style.localizeLabels("de", null) has no effect. Also every other country code does not work. I am using the latest version of the plugin 1.0.0 and the latest flutter release.

kamami avatar Mar 04 '24 12:03 kamami

@kamami It could be that this method doesn't work for basemap styles, I think it should still work for older styles, e.g. light, dark etc.

evil159 avatar Mar 04 '24 12:03 evil159

Ok, are there any plans to implement this in basemap styles?

kamami avatar Mar 04 '24 12:03 kamami

Hi, could you try with

MapboxMapsOptions.setLanguage("de");

before creating MapWidget?

maios avatar May 07 '24 12:05 maios