Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Performance issue in loading some thousands MapQuickItem items on the QML map
Qt 6.11 is out! See what's new in the release blog

Performance issue in loading some thousands MapQuickItem items on the QML map

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.0k 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
    morteza ali ahmadi
    wrote on last edited by
    #1

    I have a QML map which I want to load some thousands MapQuickItem items on it. The similar problem is questioned before in this link, but no definite answer has been given. I want to know the solution.
    I think that the loading performance will be improved, if I can limit the loaded MapQuickItem items based on the screen coordinates and zoom level using grouping items, as the answer of Schluchti in this link but Schluchti does not describe the details of his method. Is there a simple example or a tutorial that used this method?

    Pablo J. RoginaP 1 Reply Last reply
    0
    • M morteza ali ahmadi

      I have a QML map which I want to load some thousands MapQuickItem items on it. The similar problem is questioned before in this link, but no definite answer has been given. I want to know the solution.
      I think that the loading performance will be improved, if I can limit the loaded MapQuickItem items based on the screen coordinates and zoom level using grouping items, as the answer of Schluchti in this link but Schluchti does not describe the details of his method. Is there a simple example or a tutorial that used this method?

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @morteza-ali-ahmadi said in Performance issue in loading some thousands MapQuickItem items on the QML map:

      I want to load some thousands MapQuickItem items

      Are you sure that you want that? Do you really need that number of items at once?

      As a user I guess I won't feel comfortable seeing a thousand markers on any given map altogether

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      M 1 Reply Last reply
      2
      • Pablo J. RoginaP Pablo J. Rogina

        @morteza-ali-ahmadi said in Performance issue in loading some thousands MapQuickItem items on the QML map:

        I want to load some thousands MapQuickItem items

        Are you sure that you want that? Do you really need that number of items at once?

        As a user I guess I won't feel comfortable seeing a thousand markers on any given map altogether

        M Offline
        M Offline
        morteza ali ahmadi
        wrote on last edited by morteza ali ahmadi
        #3

        @Pablo-J-Rogina these items do not place in a little region and usually spread in a huge region. Also, I mentioned the worst situation with some thousands items. I think there must be a solution to this problem in Qt QML.

        Pablo J. RoginaP 1 Reply Last reply
        0
        • M morteza ali ahmadi

          @Pablo-J-Rogina these items do not place in a little region and usually spread in a huge region. Also, I mentioned the worst situation with some thousands items. I think there must be a solution to this problem in Qt QML.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by Pablo J. Rogina
          #4

          @morteza-ali-ahmadi said in Performance issue in loading some thousands MapQuickItem items on the QML map:

          usually spread in a huge region

          Beg my pardon but even if you place a thousand markers on the whole world in a let's say 10.1" tablet screen, I won't be happy looking at such (mis)information

          I think there must be a solution to this problem

          Perhaps you may want to think about approaching a different way.

          I've seen some maps providing "summary" markers (sometimes with a number attached to it) so if I click the mark the map zooms and lower-level "summary" markers appear, and so on until you reach the lowest level with individual markers.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved