Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. mapboxgl route directions language

mapboxgl route directions language

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 305 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marek
    wrote on last edited by Marek
    #1

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Marek
      wrote on last edited by
      #2

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

      Best,
      Marek

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved