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. MapPolygon border color doesnt change on update
Forum Updated to NodeBB v4.3 + New Features

MapPolygon border color doesnt change on update

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

    Hi, I'm working on a project in Qt V5.12. I have a mapviewitem that is supposed to plot mappolygons on update of the model supplied to it. all of my attributes (color, path) change on model update except for border color. why is this the case? can somebody help me with a fix. Thanks

    MapItemView {
                    model: mapPolygonsList
                    delegate: MapPolygon {
                        id: mapPolygonPlot
                        path: model.points.map(v => QtPositioning.coordinate(v.latitude, v.longitude))
                        border.color: model.borderColor
                        border.width: model.borderWidth
                        color: model.Color
                    }
                }
    
    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