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. MapView Qt 6.5
Qt 6.11 is out! See what's new in the release blog

MapView Qt 6.5

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 201 Views
  • 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.
  • BondrusiekB Offline
    BondrusiekB Offline
    Bondrusiek
    wrote on last edited by
    #1

    Hello,
    I need simple app with MapView I try do this:

    Window{
        id: root
        width: 960
        height: 640
        Plugin {
            id: mapPlugin
            name: "osm" 
        }
        MapView{
            anchors.fill: parent
            Map{
                id: myMap
                anchors.fill: parent
                plugin: mapPlugin
                center: QtPositioning.coordinate(0.0, 0.0)
                zoomLevel: 10
            }
        }
    
    }
    

    App starts but I can't change position. Do you know how can I solve that or you can paste valid code how can I use MapView?

    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