Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Map in qml.. How to pin point a place in map
Qt 6.11 is out! See what's new in the release blog

Map in qml.. How to pin point a place in map

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 508 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.
  • Ramkumar RammohanR Offline
    Ramkumar RammohanR Offline
    Ramkumar Rammohan
    wrote on last edited by
    #1

    Here using this below code map view is integrated into application.
    Map {
    id: mapView
    anchors.fill: parent
    plugin: plugin
    property MapCircle circle

                Component.onCompleted: {
                    circle = Qt.createQmlObject('import QtLocation 5.3; MapCircle {}', page)
                    circle.center = positionSource.position.coordinate
                    circle.radius = 5000.0
                    circle.color = 'green'
                    circle.border.width = 3
                    map.addMapItem(circle)
                }
        }
    

    I don't know how to pin point a specific place in map. Help me to found the above.

    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