Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. MapPolygon problem in drawing Polygon
Qt 6.12 LTS is out! See what's new in the release blog

MapPolygon problem in drawing Polygon

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

    What is the problem of this code? It draws wrong shape!
    Map
    {
    MapPolygon
    {
    color: "blue"
    border.color: "red"
    border.width: 1
    smooth: true

                  path: [
                         { latitude: 27.158203125, longitude: 56.228027344},
                         { latitude: 27.136230469, longitude: 56.206054688},
                         { latitude: 27.136230469, longitude: 56.118164063},
                         { latitude: 27.0703125  , longitude: 55.986328125},
                         { latitude: 27.026367188, longitude: 55.942382813},
                         { latitude: 27.004394531, longitude: 55.832519531}
                       ]
      }
    

    }

    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
    • Unsolved