Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. QML Map Plugin und thunderforest API Key
Forum Updated to NodeBB v4.3 + New Features

QML Map Plugin und thunderforest API Key

Scheduled Pinned Locked Moved Unsolved German
1 Posts 1 Posters 442 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
    msauer75
    wrote on 7 Jan 2022, 09:37 last edited by
    #1

    Hallo zusammen,

    ich versuche gerade meinen API KEY für die Thunderforest Karte in das OSM Plugin einzubinden, aber irgendwie scheint der nicht übertragen zu werden.

    Aktuell sieht mein Code so aus:

            Map {
                id: map
                plugin: Plugin {
                    id: myPlugin
                    name: "osm"
                    PluginParameter {name: "osm.apikey"; value: "key"}
                    PluginParameter {name: "osm.mapping.custom.host"; value: "https://tile.thunderforest.com/outdoors/"}
                }
                anchors {
                    top: headerBox.bottom
                    topMargin: 15
                    left: parent.left
                    right: parent.right
                    bottom: parent.bottom
                    leftMargin: Style.sizeScreenMargin
                    rightMargin: Style.sizeScreenMargin
                    bottomMargin: Style.sizeScreenMargin
                }
                zoomLevel: 7
                center: QtPositioning.coordinate(49.843056, 9.901944)       // Mittelpunkt Bayern
                //activeMapType: supportedMapTypes[1] // Cycle map provided by Thunderforest
                activeMapType: supportedMapTypes[supportedMapTypes.length - 1]
    }
    

    Wie muss ich denn das machen, dass ich nicht immer die Meldung API KEY required bekomme?
    Dann würde ich auch gern auf den Outdoort MapType von Thunderforest wechseln, das bekomme ich auch nicht hin.

    Könnt ihr mir dazu helfen?
    Danke für Eure Hilfe.
    gruss
    martin

    1 Reply Last reply
    0

    1/1

    7 Jan 2022, 09:37

    • Login

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