<div dir="ltr"><div><div><div><div>Thanks for the feedback :)<br><br></div>I had
already looked a bit at the monav stuff because i had it on my N900, but
like you said, it seems abandoned, so i didn't feel like using it.<br><br></div><div>But the Mapbox GL definitely looks primising, i will have a look at it later.<br></div><div><br></div>I
did not know about the qml pinchmap. I have tried out modrana though,
and it seems a bit crude, because it's written in python, and i can
imagine (correct me if i'm wrong) that implementing the whole element in
qml is a bit recource-unfriendly if you compare it to the low-level c++
<i>updatePaintNode()</i> method.<br><br><br></div>I think it would be
really cool if it is possible to have all apps use the same maps, and
have those be configurable somewhere central (like in the settings app).<br><br><br></div>cheers,<br><br>David<br><div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-18 0:16 GMT+01:00 Martin Kolman <span dir="ltr"><<a href="mailto:martin.kolman@gmail.com" target="_blank">martin.kolman@gmail.com</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div>Wed, 17 Dec 2014 16:04:31
+0100 David van rijn <a href="mailto:davidvanrijn@gmail.com" target="_blank"><davidvanrijn@gmail.com></a>:</div>
<blockquote type="cite">
<div dir="ltr"><span style="font-size:13px"><br>
Hello,<br>
</span></div>
</blockquote>
Hi!<span class=""><br>
<blockquote type="cite">
<div dir="ltr"><span style="font-size:13px"><br>
I am writing a qml component to display a slippy map (eg.
google maps).<br>
(You can look at the code at <a href="https://github.com/unsanded/harbour-mapp" target="_blank">https://github.com/unsanded/harbour-mapp</a>.)<br>
<br>
The idea is to be able to add maps in qml by just typing
something like:<br>
SlippyMap{<br>
GoogleMapsProvider{<br>
apiKey: "blabla"<br>
}<br>
}<br>
I have a few questions about this:<br>
<br>
</span><span style="font-size:13px"> - Can it, at some point,
become a library for others to use?</span><br style="font-size:13px">
</div>
</blockquote></span>
Could be certainly interesting and useful! :)<span class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr"><span style="font-size:13px"> - What is the best
way to implement offline maps/routing?</span><br style="font-size:13px">
</div>
</blockquote></span>
For offline routing the routino routing utility[0] currently looks
like the best bet for Sailfish.<br>
I have already managed to build it's package for Sailfish[1] and it
appears to be working fine. :)<br>
<br>
Another candidate could be the Monav[2] routing daemon, but it's
upstream is dead, it depends on Qt 4 and its source<br>
code has been bit-rotting rather badly. <br>
<br>
As for offline map rendering, the Mapbox GL native widget[3] looks
like the best bet, if it could be wrapped in a QML element! :) <br>
<br>
I even suggested the QML integration to the Mapbox people, but they
unfortunately replied that they are not interested in doing that
themselves (most probably not to canobalize their iOS & Android
SDKs with a superio solution ;-) ).<span class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr"><span style="font-size:13px"> - Is anyone eager
to join the project?</span>
<div> - any other feedback?<br style="font-size:13px">
</div>
</div>
</blockquote></span>
Many current Sailfish OS applications are using the QML-only
PinchMap QML element, originally from AGTL, for example:<br>
* modRana[4]<br>
* FourSail[5]<br>
On the other hand the Poor Maps application has a custom solution
based on enhanced QtLocation Map element.<br>
<br>
So maybe have a look how these work and what features these
applications expect as inspiration work on your project. :)<br>
<blockquote type="cite">
<div dir="ltr">
<div><br style="font-size:13px">
<br style="font-size:13px">
<span style="font-size:13px">Cheers,</span><br style="font-size:13px">
<br style="font-size:13px">
<span style="font-size:13px">David</span><br>
</div>
</div>
</blockquote>
Best Wishes<br>
Martin Kolman<br>
(main modRana developer)<br>
<br>
[0] <a href="http://www.routino.org/" target="_blank">http://www.routino.org/</a><br>
[1]
<a href="https://build.merproject.org/package/show/home:MartinK:sailfish/routino" target="_blank">https://build.merproject.org/package/show/home:MartinK:sailfish/routino</a><br>
[2] <a href="https://code.google.com/p/monav/" target="_blank">https://code.google.com/p/monav/</a><br>
[3] <a href="https://github.com/mapbox/mapbox-gl-native/" target="_blank">https://github.com/mapbox/mapbox-gl-native/</a><br>
[4]
<a href="https://github.com/M4rtinK/modrana/blob/master/modules/gui_modules/gui_qt5/qml/PinchMap.qml" target="_blank">https://github.com/M4rtinK/modrana/blob/master/modules/gui_modules/gui_qt5/qml/PinchMap.qml</a><br>
[5]
<a href="https://gitorious.org/foursail/foursail/source/31644f69c670f5f012f98bee641e1b7e50ba4e1f:qml/PinchMap.qml" target="_blank">https://gitorious.org/foursail/foursail/source/31644f69c670f5f012f98bee641e1b7e50ba4e1f:qml/PinchMap.qml</a><br>
</div>
<br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br></blockquote></div></div></div>