mapboxgl route directions language
Solved
QML and Qt Quick
-
Hi
I'm using mapboxgl for navigation. I'm receiving text directions from mapbox.com when I select route, eg: "Turn left", "Head north". Each version of mapboxgl I was using does not support other languages when querying mapbox.com Eg. if I want directions in Polish the query generated by mapboxgl must have parameter language=pl
I was modifying mapboxgl sources (adding language=pl to query parameters), recompile and then it worked for me. Problem is that mapboxgl sources are changing with every Qt version and now for Qt 5.12.3 I'm unable to find where to put language=pl into query parameters.
Can someone help me with that ?Best,
Marek