Questions tagged [qtpositioning]

The Qt Positioning API gives developers the ability to determine a position by using a variety of possible sources, including satellite, or wifi, or text file, and so on. That information can then be used to for example determine a position on a map. In addition satellite information can be retrieved and area based monitoring can be performed.

Currently the API is supported on Android, iOS, OS X, Linux (using GeoClue version 0.12.99), Windows (with GPS receivers exposed as a serial port providing NMEA sentences), and WinRT (using Windows.Devices.Geolocation).

12 questions
4
votes
1 answer

QML MapPolygon from C++ model

I want to dynamically add/remove/edit MapPolygon in QML Map application. I have some others jobs with created polygons (file export/import etc.) so I think that I should use MapItemView with C++ model sotirng Polygons data. I tried to create my own…
Sajmplus
  • 262
  • 4
  • 18
4
votes
1 answer

Creating and adding MapQuickItem to Map in PyQt

I'm using PyQt5 to access QML code through a QQuickWidget in a UI file. My QML file creates a map and plots points. I want to add/modify these points from my python code. I'm able to access the Map object in QML in python, but PyQt treats it and the…
Michael Janson
  • 111
  • 1
  • 6
2
votes
1 answer

How to auto zoom the Qml Map to fit two MapQuickItems

I have Qt Qml application where I need to display the map with two MapQuickItems. One is taxi another is customer. I want to display both of them inside the map. And I want the map to automatically zoomin or zoomout as the taxi approaches the…
2
votes
2 answers

It's possible to draw MapPolygon with a hole on Map in QML?

In C++ I can use QPainterPath::subtracted for drawing polygon with hole, but I don't know, how it's possible in QML Map.
Pavel
  • 277
  • 2
  • 13
1
vote
1 answer

Qt QML MapItem Rotation issue

I have a QML OSM map and a MapQuickItem with Text source item: MapQuickItem { property alias rulerRotationAngle: rulerRotation.angle id: rulerTextMapItem visible: false width: 2 height: 2 …
whs31-
  • 11
  • 2
1
vote
0 answers

How do I move my map markers in realtime on Qt?

I'm using Qt to run on Android. I'm working on a qtlocation map and I want to update my location in realtime. I have set my updateInterval: 1 (0.001 seconds) but MapQuickItem is still moving too late. PositionSource { id: ps updateInterval:…
1
vote
1 answer

Update a MapCircle on QML using a signal from C++

I'm trying to update a MapCircle in QML from a signal in C++ and I'm veen having several issues with it all day. In my class I have a Q_PROPERTY which is read only and holds the GPS positions of 4 UAVs in a QVariantList class GCS: public QObject { …
MaskedAfrican
  • 196
  • 2
  • 12
1
vote
1 answer

QML Map plugin "itemsoverlay" does not clip to the base map for large zoom, using visibleRegion()

I have a somehow minimal example of a QML map (OSM plugin) and a respective map overlay with plugin itemsoverlay. The following code will clip the overlay to the map, no matter what movement or zoom the map undergoes. However, I can zoom the base…
DomTomCat
  • 8,189
  • 1
  • 49
  • 64
1
vote
1 answer

QTP 10 with IE8 (Descriptive method)

I'm New to QTP 10. I am having a couple of issues when using descriptive programming, In some screens, while performing a click event Screen sizes get shrinked eg: iframe body Some times a Menu Panel is disappearing We are trying to…
0
votes
2 answers

Unknown module(s) in QT: location-private positioning-private

how or where can i install QT modules: location-private positioning-private apt search positioning-private does not have a result
0
votes
1 answer

QT/Qml PositionSource can not access location because of privileges on OS X

I need to obtain device current location information with Qt/Qml/Quick and C++ on Mac OS X. I test it: PositionSource { id: src updateInterval: 60000 active: true preferredPositioningMethods:…
gkhanacer
  • 575
  • 7
  • 25
0
votes
1 answer

Map Plugin shows no service providers

I'm trying to render an empty Map in QML 5.7, in order to draw geolocated polylines. However, no plugins are available to supply the map data: Map { anchors.fill:parent plugin: Plugin { name: "osm" Component.onCompleted:…
Phrogz
  • 296,393
  • 112
  • 651
  • 745