Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

mapboxgl route directions language



  • 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



  • ok my mistake. Route directions are generated from mapbox plugin not mapboxgl.
    It works now.

    Best,
    Marek


Log in to reply