Re: [SailfishDevel] About applications presenting a map interface

2015-09-16 Thread Kaj-Michael Lang
On ma, 2015-09-14 at 11:12 +0200, Michele Tameni wrote:
> Interesting, I can give it a try and let the other know hopefully by
> the end of the week. 
> Kaj-Michael, any chance to have your sample project to start with? 

I pushed my testing project to
https://github.com/oniongarlic/harbour-are

but I don't even know if it builds at this time as I was going to add
GPS support but never finished it.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] About applications presenting a map interface

2015-09-14 Thread Kaj-Michael Lang
On Thu, 2015-09-03 at 08:14 +0300, juice wrote:
> What is approved the method to present a map interface 

I've been playing around with libosmscout, it uses vector data and the
data/rendering can be customized with various style files.

http://onion-garlic.blogspot.fi/2015/02/interactive-piste-map-on-sailfish-os.html

Unfortunately it had some rendering issues (hiding stuff when zoomed in
too close), but this was in February, I haven't done anything with it
since so could be already fixed upstream.


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] About applications presenting a map interface

2015-09-14 Thread Michele Tameni
Interesting, I can give it a try and let the other know hopefully by the
end of the week.
Kaj-Michael, any chance to have your sample project to start with?
Thankyou
Michele

2015-09-14 10:49 GMT+02:00 Kaj-Michael Lang :

> On Thu, 2015-09-03 at 08:14 +0300, juice wrote:
> > What is approved the method to present a map interface
>
> I've been playing around with libosmscout, it uses vector data and the
> data/rendering can be customized with various style files.
>
>
> http://onion-garlic.blogspot.fi/2015/02/interactive-piste-map-on-sailfish-os.html
>
> Unfortunately it had some rendering issues (hiding stuff when zoomed in
> too close), but this was in February, I haven't done anything with it
> since so could be already fixed upstream.
>
>
> --
> Kaj-Michael Lang 
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>



-- 
michele tameni
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] About applications presenting a map interface

2015-09-12 Thread David van rijn
Hi Guys,

I definitely agree that there should be an easy way to add a map in any
application. This would make things so much more efficient. I believe there
were some mails earlier in this group about storing all the cached tiles in
the same place, so apps can share them.

A while ago i started with bulding my own
 slippy-map application to do
just this. It uses Qt scene graph, so it should be really quick and
efficient. It is not finished yet (rotating and zooming are hard to
combine), but it might be interesting nontheless.

Cheers,

David

2015-09-10 20:30 GMT+02:00 Kim Foder :

> Hi Juice
>
> I'm using Pinchmap from Foursail, it's a qml/javascript implementation of a
> slippery map, and works great, at least for my use ;)
>
> /Kim
>
> On Thursday 03 September 2015 08:14:27 juice wrote:
> > Morning.
> >
> > This might well be a FAQ but I could not find the answer browsing thru
> > the mailing list archives.
> >
> > I see that currently QtLocation and QtPositioning are still not allowed
> > in Harbour.
> > This seems to me that I cannot use a Map object in QML.
> >
> > What is approved the method to present a map interface (openmaps for
> > example) in an application and still have it possible to submit the
> > application to the store?
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] About applications presenting a map interface

2015-09-12 Thread Martin Kolman

Sat, 12 Sep 2015 22:33:31 +0200 David Van Rijn:

Hi Guys,

I definitely agree that there should be an easy way to add a map in 
any application. This would make things so much more efficient. I 
believe there were some mails earlier in this group about storing all 
the cached tiles in the same place, so apps can share them.
Yeah, I made the "Well known map data path" proposal a while ago but 
unfortunately there were not many reactions or feedback since then. But 
everybody is of course welcome to use or extend the specification. :)


Also on a related note - I have been recently working on a rewrite of 
modRanas tile storage code to make it much more flexible & robust. The 
result should be that in the future modRana should be able to look for tiles
at multiple places simultaneously - for example in its own tile storage 
location, in a well known/shared tile storage location or even possibly 
in the tile storage locations of other apps (if compatible). :)




A while ago i started with bulding my own 
 slippy-map application to 
do just this. It uses Qt scene graph, so it should be really quick and 
efficient. It is not finished yet (rotating and zooming are hard to 
combine), but it might be interesting nontheless.
Any idea if you can make some use of the mapbox-gl-native vector map 
renderer[2) ? Maybe as a special tile provider ? The output looks 
marvelous and it's also C++ and they even have some initial Qt 5 
support[3] (QWidget only at the moment though).


[1] https://lists.sailfishos.org/pipermail/devel/2014-March/003731.html
[2] https://github.com/mapbox/mapbox-gl-native/
[3] https://www.mapbox.com/blog/qmapboxgl/



Cheers,

David

2015-09-10 20:30 GMT+02:00 Kim Foder >:

Hi Juice

I'm using Pinchmap from Foursail, it's a qml/javascript
implementation of a
slippery map, and works great, at least for my use ;)

/Kim

On Thursday 03 September 2015 08:14:27 juice wrote:
> Morning.
>
> This might well be a FAQ but I could not find the answer
browsing thru
> the mailing list archives.
>
> I see that currently QtLocation and QtPositioning are still not
allowed
> in Harbour.
> This seems to me that I cannot use a Map object in QML.
>
> What is approved the method to present a map interface (openmaps for
> example) in an application and still have it possible to submit the
> application to the store?

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org





___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] About applications presenting a map interface

2015-09-10 Thread Kim Foder
Hi Juice

I'm using Pinchmap from Foursail, it's a qml/javascript implementation of a 
slippery map, and works great, at least for my use ;)

/Kim

On Thursday 03 September 2015 08:14:27 juice wrote:
> Morning.
> 
> This might well be a FAQ but I could not find the answer browsing thru
> the mailing list archives.
> 
> I see that currently QtLocation and QtPositioning are still not allowed
> in Harbour.
> This seems to me that I cannot use a Map object in QML.
> 
> What is approved the method to present a map interface (openmaps for
> example) in an application and still have it possible to submit the
> application to the store?

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] About applications presenting a map interface

2015-09-03 Thread Osmo Salomaa

Hello,

03.09.2015, 08:14, juice kirjoitti:

I see that currently QtLocation and QtPositioning are still not
allowed in Harbour. This seems to me that I cannot use a Map object
in QML.


QtPositioning is allowed, but QtLocation not. You conclusion is correct 
though -- you cannot use Map. Jolla seems to want to wait for QtLocation 
to be released as a stable part of Qt. It is a "technology preview" in 
Qt 5.5.



What is approved the method to present a map interface (openmaps for
example) in an application and still have it possible to submit the
application to the store?


You need to bundle something in and ship it with your application.

Effectively, Jolla is currently telling application authors to either 
(1) not write applications with maps, (2) not ship via the official 
store or (3) to bundle their own map component.


If option (3) is least bad for you, you can take a look at the several 
map applications already at the Jolla store, some of which are open 
source. Each of them bundle a different legacy map component that is 
clearly less native, less smooth and less performant than QtLocation. 
The QML PinchMap [1] is probably the easiest solution. If you don't need 
something quite ready yet, but want a modern solution, take a look at 
Mapbox GL [2].


Best would be if you could convince Jolla to allow QtLocation. I suspect 
their stability worries are exaggerated, especially compared to the lack 
of stability worries of those legacy components.


[1] https://lists.sailfishos.org/pipermail/devel/2014-December/005405.html
[2] https://www.mapbox.com/blog/qmapboxgl/

--
Osmo Salomaa 
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org