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. Add data points to Map with MapItemView from C++
Forum Updated to NodeBB v4.3 + New Features

Add data points to Map with MapItemView from C++

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 176 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.
  • E Offline
    E Offline
    erso
    wrote on 19 Feb 2021, 11:24 last edited by
    #1

    I have fairly large sets of data points (in the thousands) grouped in a handful of samples that I want to iteratively display on top of a map. The data is loaded in to my application via my C++ code from a JSON file. The data is not complex, each data point only needs coordinates and a color and then to be displayed onto the map. For speed I'm directly using and working in the example: https://doc.qt.io/qt-5/qtlocation-mapviewer-example.html

    I figure I need to create a custom MapItemView for the points specifying geometrical shape and required properties such as color and coordinates.

    But after the data is parsed in C++, how do I go about putting actual points onto the map, from C++?

    The connection between C++ and QML is not clear here and I would highly appreciate any help

    1 Reply Last reply
    0

    1/1

    19 Feb 2021, 11:24

    • 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