Re: [Interest] MapboxGL offline and custom vector tiles source

2019-12-23 Thread Paolo Angelelli
prevent the plugin to try to download tiles from > mapbox or elsewhere and just use custom layers, paints, layouts > MapParameters? For the time being I am putting a dummy > mapboxgl.mapping.additional_style_urls parameter (http://none) but this > is not very clean... > > Philip

Re: [Interest] MapboxGL offline and custom vector tiles source

2019-12-22 Thread Paolo Angelelli
Hi, a semi-OT reply: do your own geojson tiles include text or are you only going to display geometric shapes in the map? Asking because since 5.14 there's some GeoJson support, and, together with a custom model that could be used to populate a map with custom vectors On Thu, 19 Dec 2019 17:22

Re: [Interest] App crashes on iOS when geocode or reverseGecode is used

2019-04-12 Thread Paolo Angelelli
Hi, is the reply finished? do you get it from the finished signal of the manager? Or are you trying to use what the method returns you immediately? On Thu, 11 Apr 2019 22:42:36 +0200 Roman Wüger wrote: > Hello, > > I try to get the city and country from coordinates. > For this I use the functi

Re: [Interest] Parsing data from serialport

2019-04-04 Thread Paolo Angelelli
What is the advantage of having such a continuous reading loop in a separate thread? I mean it as opposed to reacting to the readyRead() signal, and having a while(canReadLine()) { ... } in the reacting slot. On Tue, 2 Apr 2019 22:01:49 + Jérôme Godbout wrote: > Make sure your reading lo

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-08 Thread Paolo Angelelli
Pressed/released should work as expected, shouldn't it? Hovered is a different story though. On Thu, 07 Mar 2019 18:32:35 +0100 maitai wrote: > Hi, > > I need to trigger various actions whenever a MapPolyLine is hovered or > pressed, such as displaying a tooltip, a menu, etc. > > I have put

Re: [Interest] QtLocation MapPolyLine and MapPolyGon style

2019-02-26 Thread Paolo Angelelli
rojection for usage in high > latitudes? > > That being said Qt Location is much much better that QGraphicsScene for > doing all that stuff, of course. > > Thanks again, > Philippe Lelong > > > Le 26-02-2019 15:21, Paolo Angelelli a écrit : > > If you need dashed o

Re: [Interest] QtLocation MapPolyLine and MapPolyGon style

2019-02-26 Thread Paolo Angelelli
If you need dashed or dotted or styled lines, at the moment that's the only workaround we can offer. The built-in lines are using QTriangulatingStroker under the hood, that seems to be missing that part of the QPen features (brush, style). as for map polygon, the only workaround i can think of,

Re: [Interest] Replacement for Qt4 QMatrix4x4?

2019-02-22 Thread Paolo Angelelli
You aren't telling us much, except that you need to invert it and multiply points with it. If QtPositioning-private is an acceptable dependency instead of pulling in eigen (or others), you could probably get away with the private QDoubleMatrix4x4 that is in there, basically a double QMatrix4x4.

Re: [Interest] Qt Location custom osm plugin and high res tiles

2019-02-20 Thread Paolo Angelelli
Thanks again for you replies > Philippe. > > Le 20-02-2019 09:59, Paolo Angelelli a écrit : > > I may have misunderstood what you meant with "custom osm plugin". > > What does that mean? > > If you meant "a modified osm plugin", then you would be already

Re: [Interest] Qt Location custom osm plugin and high res tiles

2019-02-20 Thread Paolo Angelelli
t; > Philippe > > Le 19-02-2019 19:40, maitai a écrit : > > > Thanks I'll give it a try > > > > Message d'origine > > De : Paolo Angelelli > > Date : 19/02/2019 7:21 PM (GMT+01:00) > > À : interest@qt-project.org > > Obj

Re: [Interest] Qt Location custom osm plugin and high res tiles

2019-02-19 Thread Paolo Angelelli
Hi, yes it's easy. All you have to do is setting the appropriate QGeoCameraCapabilities for the map types you have high dpi tiles for. So in your case, set the tilesize to 256x256, so that you will have more data per logical pixel. hope it's clear enough. Or just check how it's done in either os

Re: [Interest] QML Settings fails persistance on Android

2018-08-31 Thread Paolo Angelelli
I also have had several issues (mostly persistence issues) with Qt.labs.settings. In the end using QSettings directly seemed to work alright, and so i kept using that. A pity since Qt.labs.settings looks much easier to use, but nevertheless.. On Fri, 31 Aug 2018 13:26:05 +0200 René Hansen wrote

[Interest] Google Summer of Code 2018

2018-02-13 Thread Paolo Angelelli
Hi, this year we decided that it would be a good idea to participate to the Google Summer of Code, and we have also been accepted! Our page is at https://summerofcode.withgoogle.com/organizations/5388456415461376/ . If you have additional ideas to propose, mentor, or both, please feel free to

Re: [Interest] Video acceleration with gstreamer 1.0 omx and Qt 5.9.4 / 5.10 eglfs on RPI3 (brcm)

2018-01-31 Thread Paolo Angelelli
Maybe this could be relevant: https://gstreamer.freedesktop.org/data/events/gstreamer-conference/2016/John%20Sadler%20-%20Smooth%20video%20on%20Raspberry%20Pi%20with%20gst-mmal%20(Lightning%20Talk).pdf On Wed, 31 Jan 2018 18:48:47 +0100 Petar Koretić wrote: > Thanks Paolo, > I also found somethi

Re: [Interest] Video acceleration with gstreamer 1.0 omx and Qt 5.9.4 / 5.10 eglfs on RPI3 (brcm)

2018-01-31 Thread Paolo Angelelli
I did some research some time ago. It seemed, back then, that the problem may have arised from the fact that the sink glimagesink, that is the one that has to be used on the RPi, might be built using mesa, but to have it run HW-accelerated, it should use broadcom's egl. So it might be you have to

Re: [Interest] Qt Location GeoServices plugin to use geo-referenced image file as map source

2017-12-07 Thread Paolo Angelelli
Indeed! As answered in the bug report, the easy workaround is to cut your tif into tiles (like using QGis w QTiler plugin or gdal2tiles, or whatever other mean), and then you don't even need to serve the tiles via http, you can fetch them locally either from file (file:///) or qrc, depending on

Re: [Interest] Set transparent fill on map using mapboxgl plugin

2017-10-25 Thread Paolo Angelelli
Hi, in this case i'm not 100% sure what you mean. I just tried to create a Map using mapboxgl plugin, with a polyline on it, and set the opacity to 0.5, and it seems to behave as expected. So yes, i would say that it might be a bug worth to report with a sample :-) On Tue, 24 Oct 2017 14:13:16

Re: [Interest] QGeoPositionInfo in QML

2017-10-24 Thread Paolo Angelelli
Hi Julius, so there is currently no easy way to have a single interoperable source for position info. Either you use the C++ source, and QGeoPositionInfo or, QML's PositionSource and Position. If you want to have the same source, and the data coming from that source in both C++ and QML, i curr

Re: [Interest] Set transparent fill on map using mapboxgl plugin

2017-10-24 Thread Paolo Angelelli
On Mon, 23 Oct 2017 13:55:15 +0200 Ola Røer Thorsen wrote: > Hi, I'm evaluating using QtLocation's map using mapboxgl. Currently I'm > using the default settings, default map style, default developer access > token. > > I'd like to set most layers' fill color to transparent, to see how it works

Re: [Interest] Plane rotations

2017-04-05 Thread Paolo Angelelli
Just cross N and M to get the vector around which to rotate. Then use a QQuaternion to set the rotation in the Qt3DCore::QTransform, and construct it with fromAxisAndAngle(const QVector3D &axis, float angle) On Wed, 5 Apr 2017 14:18:56 +0300 Igor Mironchik wrote: > Hello, > > Let's say I hav

Re: [Interest] How to get all MapItems in a given region?

2016-11-19 Thread Paolo Angelelli
Hi, You are right, there is no api for this at the moment. We are considering whether to add one, and whether to base it on some acceleration structure. For now, the best you can do is to keep track of the map items yourself and query your structure (yes, map items also miss a bounding box at the

Re: [Interest] How do i declare a QGeoCoordinate property in QML?

2016-09-26 Thread Paolo Angelelli
Hi Kishore, have you tried "property var coordinate"? best Paolo On Mon, 26 Sep 2016 16:11:03 +0530 Kishore Jonnalagadda wrote: > I have created an custom Item in which I want to have a coordinate > property. Further i want to create aliases to the coordinates > properties. How do i go about th

Re: [Interest] Composite (Image+circle) MapItem

2016-09-19 Thread Paolo Angelelli
Inside Plane.qml is currently not possible. There is one patch under review that adds the MapItemGroup item, meaning a way to group map items as you ask. That's however 5.9 material :) best, Paolo On Wed, 14 Sep 2016 09:52:16 +0530 Kishore J wrote: > And I should mention that the circle should

Re: [Interest] How to dynamically add a MapItemView to a Map?

2016-09-08 Thread Paolo Angelelli
be an issue. However, I now removed > the enclosing Component (Which really did not do anything). Still, if > i do not call addMapItem() it does not show on the map. > -- > Regards, > Kishore > > On Wed, Sep 7, 2016 at 7:45 PM, Paolo Angelelli > wrote: > > > I

Re: [Interest] How to dynamically add a MapItemView to a Map?

2016-09-07 Thread Paolo Angelelli
t I want to know if it's me doing something > wrong. -- > Regards, > Kishore > > On Tue, Sep 6, 2016 at 9:25 PM, Paolo Angelelli > wrote: > > > On Tue, 6 Sep 2016 19:04:34 +0530 > > Kishore J wrote: > > > > > Hi > > > > > > I am inch

Re: [Interest] How to dynamically add a MapItemView to a Map?

2016-09-07 Thread Paolo Angelelli
round but I want to know if it's me doing something > wrong. -- > Regards, > Kishore > > On Tue, Sep 6, 2016 at 9:25 PM, Paolo Angelelli > wrote: > > > On Tue, 6 Sep 2016 19:04:34 +0530 > > Kishore J wrote: > > > > > Hi > > > > &

Re: [Interest] How to dynamically add a MapItemView to a Map?

2016-09-06 Thread Paolo Angelelli
On Tue, 6 Sep 2016 19:04:34 +0530 Kishore J wrote: > Hi > > I am inching forward with using QML maps in my C++ application. Now > i'm interested in dynamically adding multiple MapItemView objects to > a given map. > > > import QtQuick 2.5 > import QtLocation 5.6 > > Map { > id: map >

Re: [Interest] QML Map & MapQuest

2016-08-26 Thread Paolo Angelelli
On Fri, 26 Aug 2016 07:00:30 + Alexander Blasche wrote: > Hi, > > >Since July 11, 2016 MapQuest disabled direct tile access. So QML Map > >doesn't support MapQuest anymore. So my question when MapQuest > >support will be implemented again? > > The fix is detailed in https://bugreports.qt.io