Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
|
Re: App for vector renderer maps, using OpenGL ES 2.0
The first round of porting a real application (Poor Maps) is done and I have extended the API accordingly. There is still work to be done to finish the port, but I think - in API terms of QML interface - lots of it has been done and should be possible to use in practice. Few bugs have been found and fixed in meanwhile.
So, if you wish to get hands dirty and add Mapbox GL-based map to your app, feel free to try. I'll be happy to help and extend / modify the API according to the requirements. |
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
Code:
01:28:34: Running steps for project mapbox-qml... Code:
INCLUDEPATH += ../../pkg-mapbox-gl-native/mapbox-gl-native/platform/qt/include ../../pkg-mapbox-gl-native/mapbox-gl-native/include |
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
I'll fix it properly later today. Until that, just add missing Qt modules in https://github.com/rinigus/mapbox-gl...box-qml.pro#L3 (compare with https://github.com/rinigus/mapbox-gl...-gl-qml.pro#L3). So, as far as I can see, we are missing Code:
network gui sql |
Re: App for vector renderer maps, using OpenGL ES 2.0
@MartinK, try again with the new .pro file. I also changed the path for the library in this file, hopefully it would fit better now.
I do wonder whether I am supposed to start a new thread under development since we probably are out of the brainstorm phase by now. Or anyone interested can find the information here as well? One more question on mouse area: do we make * a "universal" one which would expose via signals on whether it was clicked, double clicked, press-and-hold at some coordinate. or * provide it as a template that anyone can fit into the project and process the signals as they wish. For example, at present, double click is routed to centering on current position in Poor Maps and increasing zoom level in modRana. I am personally fine with the both ways, its probably up to the map app authors to state the preference. If we go for the universal mouse area interaction, do we call it MapboxMapMouseArea? |
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
Quote:
Quote:
But I guess for simpler applications (let's say a location view in a Twitter client) an all in one pre-configured element might also be welcome. It would be basically a Mapbox map view with the area on top, with signals connected to respective map view APIs in a generic way, so that pinch zoom, panning, & flicking work out of the box without the need for application side configuration. This could likely be left for later on though. :) Quote:
|
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
|
Re: App for vector renderer maps, using OpenGL ES 2.0
MartinK and otsaloma: thank you for the feedback! We can surely write up a universal gesture area and make it similar (in some extent) to the one used by QtLocation.
As for the area, yes, it will be somewhat Mapbox GL specific due to use of pan and zoom functions. In practice, I was thinking to have internal processing of pan, zoom (pinch and wheel) and expose onClicked onDoubleClicked onPressAndHold These signals will return pixel position, aka regular mouse area signals. If user wishes, all of them can be resolved into geocoordinates as specified by acceptedGestures(?) and would return geocoordinate as well as its sensitivity (lat/lon degrees per pixel): onClickedGeo onDoubleClickedGeo onPressAndHoldGeo Resolving coordinates takes time (signal to and back from mapboxgl) and is not always required. I presume that such widget should satisfy our needs. When needed, we can always extend. Or am I forgetting about some signal? |
Re: App for vector renderer maps, using OpenGL ES 2.0
I have some feedback from Mapbox GL authors regarding J1 crashes. It was suggested to test with a very simple theme that just shows country borders on red background. Would J1 and Photon Q users test the last version of the demo app:
https://build.merproject.org/package...pbox-demo-sfos , choose your architecture, get build RPM Please let me know whether the black box on the top left is still there and if you can make it crash. @WebLyfe, for some unknown reason your message disappeared from the thread. Which link did you try? To get RPM, you have to go https://build.merproject.org/package...s/mapboxgl-qml, click on Repositories, choose the architecture and get RPM. |
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
However, I was able to run it before, but can't with the version. As I couldn't make sense of it, I first rebooted, then seeing nothing changed removed it, and reinstalled it: Code:
[nemo@Sailfish ~]$ pkcon install mapbox-sfos mapbox-sfos-debuginfo mapbox-sfos-debugsource Code:
[nemo@Sailfish ~]$ pkcon search name mapbox Code:
[nemo@Sailfish ~]$ time mapbox-sfos Diging with gdb: Code:
Program received signal SIGSEGV, Segmentation fault. Code:
[ 1213.066503] dbus-daemon(877) send signal 9 to dbus-daemon(5056) What could have changed since the older version on which we found the crash on J1 that could explain this ? I also found strange that the repo shows differents architectures in its name : " sailfish_latest_armv7hl (armv8el) " (from https://build.merproject.org/project...e:rinigus:maps). Jolla1 is an armv7l as shown by uname: Code:
[nemo@Sailfish ~]$ uname -a Code:
[nemo@Sailfish ~]$ file /usr/bin/mapbox-sfos As before, I can test any other thing, if anyone have ideas of additional commands/traces that could help. I also tried to describe as much as possible the steps I did if someone else want to compare with its J1 to check that this problem would not be only on my phone. |
All times are GMT. The time now is 01:04. |
vBulletin® Version 3.8.8