Re: Mapbox GL Native QML plugin
Quote:
|
Re: Mapbox GL Native QML plugin
Quote:
|
Re: Mapbox GL Native QML plugin
Quote:
To get coordinate of any pixel, you call method Code:
queryCoordinateForPixel(const QPointF p, const QVariant &tag = QVariant()) Code:
replyCoordinateForPixel(const QPointF pixel, QGeoCoordinate geocoordinate, qreal degLatPerPixel, qreal degLonPerPixel, const QVariant &tag) The signal will carry correct geocoordinate as well as its derivative per pixel (if you wish to apply some sensitivity analysis to the result). See query example at https://github.com/rinigus/mapbox-gl...es-and-signals So, in your case, find pixel coordinates of the pin and ask for its geolocation using queryCoordinateForPixel |
Re: Mapbox GL Native QML plugin
Quote:
https://github.com/ghosalmartin/harbour-uber |
Re: Mapbox GL Native QML plugin
Quote:
First I setup an environment to reproduce the problem. For that I used Laufhelden 0.9.8-9 and mapboxgl-qml-1.1.1-10.29.1. Then I put an autosave file of a large workout into the /Laufelden directory and then started the app. Then while loading the autosave the app crashed. Then I just switched to your new release mapboxgl-qml-1.1.2-10.31.1. everything else I left untouched. When I now start the app, it still freezes for about 30 seconds, but then it recoveres and starts working normally. So I can say: bug fixed, good job! ;) |
Re: Mapbox GL Native QML plugin
Quote:
|
Re: Mapbox GL Native QML plugin
Quote:
Code:
//This is the first data point, draw the start icon |
Re: Mapbox GL Native QML plugin
Quote:
(https://www.mapbox.com/mapbox-gl-js/...bol-visibility). However, its a good idea to allow overlap in this case, since you change the default (https://www.mapbox.com/mapbox-gl-js/...-allow-overlap). So, the code would be: Code:
//This is the first data point, draw the start icon |
Re: Mapbox GL Native QML plugin
The plugin has been updated to 1.2.0. Its still on the same QMapboxGL version, I am waiting for the next QMapboxGL release to update it.
Version 1.2.0 brings enhancements: * allow fixing zoom levels to integers. Suggested and implemented by @otsaloma to provide better support for raster maps * allow clearing cache (suggested by @otsaloma) New version is out at OBS and OpenRepos. |
Re: Mapbox GL Native QML plugin
Hello @ringius (and @jdrescher, @otsaloma, @MartinK),
Background: I was surprised to find mapboxgl-qml installed on my Jolla 1 phone. While OSMscout server, PoorMaps, ModRana and Laufhelden are installed, PoorMaps GL and associated libraries were not installed (at least not manually and deliberately). Looking for the reason, I found that Laufhelden's RPM Spec-file pulls in mapboxgl-qml unconditionally. As supposedly mapboxgl-qml was already installed for some time and I did not experience any effects, I wonder:
|
All times are GMT. The time now is 03:04. |
vBulletin® Version 3.8.8