farsi language for direction steps

37 views Asked by At

I want to change the language of the mapbox direction steps to Farsi.

I used this method but it does not work for Farsi language. Help me please. thank you.

map.addControl(new MapboxDirections({
accessToken: mapboxgl.accessToken,
language: 'fa'

}), 'top-left');

0

There are 0 answers