Questions tagged [qtlocation]

The Qt Location API helps to create viable mapping solutions using the data available from some of the popular location services.

The Qt Location API enables the user to:

  • access and present map data,
  • support touch gesture on a specific area of the map,
  • query for a specific geographical location and route,
  • add additional layers on top, such as polylines and circles,
  • and search for places and related images.

The module provides both a C++ API as well as a QML API.

70 questions
0
votes
1 answer

Clustering QtLocation markers technique

Currently, I'm using this project https://github.com/OpenGeoscience/vtkMap based on the VTK framework to have a slippy map in which I can add markers and group them in clusters. I have already contributed to that project but there's still bugs in it…
Aminos
  • 754
  • 1
  • 20
  • 40
0
votes
1 answer

Export .RData into a CSV in R

I want to export fake.bc.Rdata in package "qtl" into a CSV, and when running "summary" it shows this is an object of class "cross", which makes me fail to convert it. And I tried to use resave, but there is warning :cannot coerce class ‘c("bc",…
KaiLi
  • 46
  • 4
0
votes
1 answer

How to access to a WMS or WMTS from Qt QML Map

I would like to know if it is possible to access to a Web Map Service or Web Map Tile Service from a QML map. As far as I know, there isn't a geoservice plugin available to do it, so it needs to be developed I guess. The WMTS might be something…
P. Arias
  • 25
  • 6
0
votes
1 answer

Menu pops up at center rather than touched place

When trying to create a menu on map, menu pops up at center of the map rather than touched place on map when using onPressAndHold on Android. However the same code works correctly on desktop (Ubuntu). When press and hold with mouse on map, the menu…
Edip Ahmet
  • 465
  • 8
  • 18
0
votes
1 answer

How to save current index of ComboBox for supported map types

I try to save index of ComboBox for choosing supported map types of Open Street Map. When opening the app again, the last chosen map index should be displayed. Qt.labs.settings didn't work as the example below: import QtQuick 2.6 import…
Edip Ahmet
  • 465
  • 8
  • 18
0
votes
1 answer

QT QML Model from C++ - Issue with Map Rendering

I am building an application to create and edit gpx files on a map. I want to be able to render a line and set of markers from a single model. Each GPX point has a co-ordinate, elevation and a time. I am aiming to create a model that can be used to…
CitizenFish
  • 312
  • 2
  • 13
0
votes
0 answers

Override implementation of one method in a Qt quick object

I was able to resolve an issue I was having with Qt by modifying the implementation of a method in a core class (see this post ). Although I believe this change would be a valuable addition to Qt, it's a completely wrong way to deal with this issue…
charles
  • 192
  • 1
  • 14
0
votes
0 answers

Mapbox is not loading on raspberry

I'm trying to load a mapbox in my c++/qt application. On my PC the application is working fine, and the map is loaded. However, when the application is deployed on the raspberry(v3) the application is running but the map is not loaded(a blank…
0
votes
0 answers

Qt QML MapRoute line is not very well constructed, flickering

I am trying to develop a navigation application with Qt and Qt location plugins. Right now, I am testing using Here plugin. Since the Map plugin allows me to set up tilt, bearing, zoomLevel etc. I am well able to do what I am trying to do, except…
mozcelikors
  • 2,582
  • 8
  • 43
  • 77
0
votes
1 answer

Use satellite view from QtLocation as ground texture in 3D scene

I'm building a flight simulator in Qt, and I would like to display a satellite view on the floor. I saw that satellite views were accessible with QtLocation. Is there a way to extract a picture from this plugin (giving center or corner coordinates…
Pascal
  • 31
  • 3
0
votes
1 answer

Qt Location - Map interaction

My goal is to write a simple desktop route planner in Qt. The user needs to be able to plot a route on the map and edit it. I've got a map up and running using the QML Map/Openstreetmap plugin and have been looking at the MapPolyLine type. But I…
CitizenFish
  • 312
  • 2
  • 13
0
votes
2 answers

display multiple routes on a map using RouteMap QML Qt

I want to display a list of routes on a map using Qt Location properties, I was able to display one route, but I don't know how to display multiple ones. Here's my code: RouteModel { id: routeModel plugin: somePlugin query: RouteQuery…
fullon
  • 11
  • 1
  • 5
0
votes
1 answer

How to monitor a filtering map process with a progressbar

I want to inform the user of the process of filtering points on a QML map by a progress bar. This process takes place in three phases: filterAcceptsRow call rowCount and then call data. The values returned by data are compared with the filter and…
kontiki
  • 186
  • 3
  • 16
0
votes
2 answers

Introduce condition in delegate

I seek for introduce a condition in a delegate. Here is a simplified main.qml import QtQuick 2.6 import QtQuick.Window 2.2 import QtPositioning 5.5 import QtLocation 5.6 Window { width: 1440 height: 900 visible: true property…
kontiki
  • 186
  • 3
  • 16
0
votes
1 answer

QT/QML how works mapReady on a map?

I'm stuck on the way mapReady works into QML. According to the doc http://doc.qt.io/qt-5/qml-qtlocation-map.html#mapReady-prop, it's advised to use the signal emitted for this property in place of Component.onCompleted From this simple main.qml…
kontiki
  • 186
  • 3
  • 16