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 geoservices provider is not supported.

mapboxgl geoservices provider is not supported.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 6 Posters 2.1k 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.
  • J Offline
    J Offline
    juanma lambre
    wrote on last edited by
    #1

    Hi! I'm trying to use the MapboxGL plugin with QML and I'm getting the following error: The geoservices provider is not supported. Here is my QML code:

    import QtQuick 2.7
    import QtQuick.Window 2.2
    import QtLocation 5.14
    import QtPositioning 5.12
    
    Window {
        width: 512
        height: 512
        visible: true
    
        Map {
            id: map
            anchors.fill: parent
    
            plugin: Plugin {
                name: "mapboxgl"
    
                PluginParameter {
                    name: 'mapboxgl.access_token'
                    value: 'VALID_MAPBOX_TOKEN'
                }
            }
        }
    }
    

    If I use the old mapbox plugin everything works fine, but I need to use mapboxgl since the map needs to have labels that rotate. Any suggestions?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bruce Zhao
      wrote on last edited by
      #2

      I have the same problem, did you solve it?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        miladTalaei
        wrote on last edited by
        #3

        i have same problem on RPI3 so if u solved it let me know how please

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kovastros
          wrote on last edited by
          #4

          for palacesearch use mapbox instead of mapbox gl as follows

          Plugin {
                  id: myPlugin   
                  name:"mapbox"  <<--
           PluginParameter {
                      name: "mapbox.access_token"<<--
                      value: ".........your key"
                  }
          
          1 Reply Last reply
          0
          • U Offline
            U Offline
            UxoriousGhost
            wrote on last edited by
            #5

            Just add "QT += location positioning network opengl concurrent sql sensors" to your pro file. And rebuild your project and it should work fine.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JilayBcs
              wrote on last edited by
              #6

              Hi, have you been able to solve this issue

              1 Reply Last reply
              0

              • Login

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