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. Painting images over qml maps
Forum Updated to NodeBB v4.3 + New Features

Painting images over qml maps

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlqml mapqml renderingqml c++c++ qt
1 Posts 1 Posters 423 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
    Matus_Varhanik
    wrote on 17 Nov 2022, 09:43 last edited by
    #1

    Hi everyone :) We are creating an app that draws one map on top of another (with opacity). The first map is in pixel format, and we calculate how each pixel fits on second map. For that one , we are using qml map (we need the ability to zoom into it and see small cities/vilages ). We tried to paint it pixel by pixel using mapRectangle or Rectangle item, but this method is extremely slow even with couple of hundreds of rectangles. Also there is a weird bug where the map randomly connects two pixels while we interact with it. We looked for this problem and it looks like there are some limitations for what we can achieve with mapRectangle and Rectangle Item. Is there a better way to get something like what we want ? For example a way to draw png image into qml map, with the ability to zoom with the map correspondingly.

    1 Reply Last reply
    1

    1/1

    17 Nov 2022, 09:43

    • 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