*** frinring_ is now known as frinring | 01:42 | |
elfio | Good morning, I'm updating an app which featured a map by using "here" plugin and mapbox token. Recently Mapbox changed their licensing model and I cannot make it work again with a new key. Any help, please? Thank you! | 06:59 |
---|---|---|
PeperJohnny | elfio: I guess you're talking about https://github.com/rinigus/pure-maps? | 07:07 |
PeperJohnny | If so there might be some help in this thread -> https://talk.maemo.org/showthread.php?t=100442 | 07:07 |
elfio | PeperJohnny: actually I was just using the vanilla Map component from QtLocation 5.0. There are 79 pages on that thread; could you be more specific? | 08:10 |
PeperJohnny | I just recall reading that you need your own key at some time, because the provided one has used up its quota. But I do not remember specifics | 08:11 |
elfio | ok, thanks nontheless :) | 08:13 |
elfio | Maybe there is anyone else who I can talk to? | 08:13 |
rinigus | elfio: if you use vanilla map component (not sure which), then pure maps thread will not help you. | 09:37 |
elfio | rinigus: with vanilla I mean Map{} available with QtLocation 5.0 | 09:38 |
elfio | I found out you created a whole map component for mapboxgl and I'm currently lookin into the app-qml example :) | 09:39 |
r0kk3rz | rinigus: have you tried compiling mapbox without opt-gcc? | 09:49 |
rinigus | r0kk3rz: no, I haven't. probably should do that to see if we can get mapbox gl module to qtlocation with 5.9 upgrade | 10:06 |
rinigus | elfio, Map{} Qtlocation 5.0: that's probably raster tiles only, mapbox gl based one was included starting from qt5.9 | 10:07 |
elfio | So maybe this is a bit overkill for my use case? The expected use of the map is to locate bus stops on it, no navigation or special features are required | 10:09 |
rinigus | elfio: that component is based on earlier work of mapbox and is extended now with few goodies (zoom and runtime styling). if you look for sfos example, its at https://github.com/rinigus/mapbox-demo-sfos | 10:10 |
elfio | rinigus, thank you :) | 10:10 |
rinigus | elfio: not sure whether its an overkill. at least its something that works and is maintained. programming with it is simple, you can easily switch between online and offline. as a drawback - no jolla store | 10:13 |
rinigus | ... but there is no jolla store for Map{} either. | 10:13 |
rinigus | although, using plain Map{} is easy in terms of use on desktop - usually qtlocation is available with distributions | 10:14 |
rinigus | elfio: except mapbox gl plugin on debian-based distros - this is absent for several reasons | 10:14 |
elfio | rinigus: well, late releases are only available at openrepos.net due to lack of support in jolla store | 10:16 |
elfio | also I'm planning to use this app only as SFOS app | 10:17 |
elfio | the idea from the very begining was to get a very simple map where I could put some indicators so users can locate them in real world and tap on them to retrieve info | 10:17 |
rinigus | elfio: in principle, for simple apps, it should be trivial to switch between Map{} components. right now on SFOS, mine works. qtlocation is probably hacky and surely old | 10:18 |
elfio | I had that working but a few weeks ago, mapbox changed their billing procedure or something and now it's not enough by replacing the old token with the new one | 10:18 |
rinigus | as for tapping and adding objects, thats easy with mapbox gl qml | 10:18 |
elfio | I'll give it a try. In case I get stuck, I imagine I'll come back for some help | 10:19 |
rinigus | elfio: sure, will be happy to help | 10:19 |
elfio | thanks! | 10:20 |
rinigus | elfio: as for changing with mapbox license - not aware of any and it hasn't touched me, as far as I can see | 10:20 |
elfio | haha, no idea tbh. Maybe mine was too old? | 10:22 |
rinigus | :) | 10:23 |
attah | How do i make Dialog components not break in landscape mode? | 11:44 |
attah | Seriously... setting allowedOrientations in the dialog itself makes it break, but setting _defaultPageOrientations in the ApplicationWindow does the trick | 12:04 |
attah | jaaay, unofficial APIs | 12:04 |
attah | _allowedOrientations in the Dialog also works | 12:09 |
attah | wow | 12:09 |
rinigus | r0kk3rz: looks like mapbox gl can now be compiled with "regular" gcc on sfos - https://build.merproject.org/package/show/home:rinigus:maps:devel/qmapboxgl . don't have time to test it now, though (this will require recompilation of mapbox gl qml as well) | 12:27 |
r0kk3rz | rinigus: oh cool | 12:32 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!