Active Topics

 



Notices


Reply
Thread Tools
Posts: 445 | Thanked: 361 times | Joined on Nov 2010 @ Italy
#1
Is it possible to port on Maemo5, Harmattan, and/or SailfishOS the Mapbox GL project?

it's a on-device vector renderer, which uses OpenGL ES 2.0 technology for pixel-perfect map design, from antialiased fonts to polygon blurring, all hardware-accelerated and optimized for mobile devices and all on the fly.

In the github page it says: An OpenGL renderer for Mapbox vector tiles, implemented in C++11, currently targeting iOS, OS X, and Ubuntu Linux.

Can compile for our platforms?
__________________
Flickr photos taken with N900 https://www.flickr.com/cameras/nokia/n900/
"Closed source software tells you what you can do. With open source, you decide what software can do for you" Richard Stallman
 

The Following 6 Users Say Thank You to gianko For This Useful Post:
Posts: 731 | Thanked: 2,593 times | Joined on Apr 2012
#2
I've already started trying to compile Mapbox for harmattan. So far my issue has been that it requires gcc 4.8, but the version in the Harmattan repos is 4.4. Has anyone been successful in installing a newer gcc/g++?
 

The Following 6 Users Say Thank You to taixzo For This Useful Post:
Posts: 1,387 | Thanked: 6,339 times | Joined on Apr 2010 @ Czech Republic
#3
Thanks for letting us know, it looks indeed VERY interesting! While it works, I would say it is in quite an early stage of development, but is definitely moving in the right direction. Something like this was long overdo so it is good to see someone finally doing this.

A couple of my initial observations:

  • based on the videos and the demo on the website the performance looks very good !
  • it looks like it uses vector tiles and does some caching of them locally
  • it seems to do only basic map operations (rendering, zooming, map rotation) but does them in a pretty robust way
  • there seem to be support for styles
  • haven't seen any more advanced functionality like POI, route display, overlay with tile data, etc.
  • doesn't seem to be documented in any measurable way aside from basic build instructions
  • and even the build instructions seem to be pretty ad-hoc, not to say fragile - they are Ubuntu-centric and expect to have one specific version (4.8) of gcc, otherwise you are out of luck (I have gcc 4.9 on Fedora 20 and haven't yet found a way how to force it to use it)
  • the build system also looks pretty fragile - it is basically downloading & compiling some custom version of Mapnik and other libraries
  • haven't seen anything resembling packaging anywhere so far
  • so all in all while it is already remarkable what it can do quite a lot of work is needed to make it more robust and usable in real environment

The main question is - how do you actually use this to make a proper navigation app ? Currently it is basically just a demo that sets up a window and an OpenGL context that shows a map in it. It is open source so you could just take it and build your own application on top of it. But this would be rather tedious, as without using a proper GUI toolkit you would have to implement all the needed GUI primitives yourself, meaning that implementing any non trivial functionality would be quite a lot of work.

So basically what this needs to be actually useful is some sort of GUI toolkit integration. In this regard either Qt (as a QtQuick element or/and a QWidget) or SDL look like the best candidates. Once you have the integration, you can start building real apps with a really nice vector maps.

This is related to the question of how modRana can make use of the Mapbox map rendering widget.

ModRana currently has two main GUIs - the GTK2 GUI used mainly on the N900, the Qt 5 GUI used mainly on the Jolla + the semi inactive Qt 4 GUI used on Harmattan. If someone makes a QtQuick 2 element based on the Mapbox renderer (which I would say is quite likely to happen), modRana should be able to use it to render the map layer with relatively minor changes.

And if someone is crazy enough to both build it for Fremantle & to somehow integrate it with GTK2 (both are in my opinion unfortunately quite hard & unlikely to be done), it might even work with the GTK GUI with some modifications.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader

Thanks to everyone who voted for modRana & Mieru in the Maemo.org coding competition !

Last edited by MartinK; 2014-06-19 at 21:08.
 

The Following 8 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,387 | Thanked: 6,339 times | Joined on Apr 2010 @ Czech Republic
#4
Originally Posted by otsaloma View Post
Mapbox GL running on the Qt Framework
https://www.mapbox.com/blog/qmapboxgl/
https://github.com/tmpsantos/qmapboxgl

https://i.imgur.com/IQd3k8i.gif
Cool! Looks like it that it took them only 8 months to implement my suggestion!

But anyway:

Who will be the first to get it running on Sailfish OS and Fremantle ? ;-)
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader

Thanks to everyone who voted for modRana & Mieru in the Maemo.org coding competition !
 

The Following 4 Users Say Thank You to MartinK For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on Nov 2015
#5
Thank you verry much
sbobet news
 
pichlo's Avatar
Posts: 4,868 | Thanked: 14,579 times | Joined on Sep 2012 @ UK
#6
Originally Posted by MartinK View Post
Who will be the first to get it running on Sailfish OS and Fremantle ? ;-)
By the looks of it, no one yet
__________________
In particle accelerators atoms are indeed not only touching each others. But banging together in a massive explosive orgasm.
-- nieldk in a TMO post
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 1,671 | Thanked: 1,639 times | Joined on Dec 2010
#7
Does fremantle have gcc 4.8?
 
Posts: 3,023 | Thanked: 12,550 times | Joined on Mar 2010 @ Sofia,Bulgaria
#8
Originally Posted by m4r0v3r View Post
Does fremantle have gcc 4.8?
AFAIK no, 4.7.2 is the latest available
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 2,076 | Thanked: 3,251 times | Joined on Feb 2011
#9
 

The Following 4 Users Say Thank You to szopin For This Useful Post:
Posts: 1,387 | Thanked: 6,339 times | Joined on Apr 2010 @ Czech Republic
#10
Originally Posted by otsaloma View Post
Qt Framework officially supported

"We are committed to Qt and Mapbox GL Native now welcomes it as a first-class platform. Mapbox Qt SDK provides QMapboxGL and QQuickMapboxGL."

https://www.mapbox.com/blog/qt-framework-support/

https://imgur.com/sq3ZVb5.gif
Well, finally! Took them long enough considering QML support really was a no-brainer since day one...
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader

Thanks to everyone who voted for modRana & Mieru in the Maemo.org coding competition !
 

The Following 3 Users Say Thank You to MartinK For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:21.