Re: [SailfishDevel] Generating MapQuickItems from model

2013-11-28 Thread Antoine Reversat
Well I was actually able to do what I want with MapItemView.


On Thu, Nov 28, 2013 at 3:52 AM, Antoine Reversat a.rever...@gmail.comwrote:

 Hi guys (and gals),

 I'm trying to populate a map with marker based on a model.

 I wanted to do this

 Map {
 id: stationsMap
 anchors.fill: parent
 plugin: nokia
 center: currentLocation.coordinate
 zoomLevel: stationsMap.maximumZoomLevel - 7
 gesture.enabled: true

 Repeater {
 model: myModel
 delegate: Marker {
 coordinate: QtPositioning.coordinate(latitude, longitude)
 }
 }
 }

 Each entry in my model contains a latitude and longitude property

 Here is Marker.qml

 import QtQuick 2.0
 import QtLocation 5.0

 MapQuickItem {
 property string type: station

 sourceItem: Image {
 id: marker
 source: type == station ? ../images/bikster-marker.png :
 ../images/you-marker.png
 }
 anchorPoint.x: marker.width/2
 anchorPoint.y: marker.height
 }

 Can somebody tell me what I'm doing wrong or the right way to dynamically
 add markers to my map ?


 Antoine

___
SailfishOS.org Devel mailing list

[SailfishDevel] Unsubscripbe

2013-11-28 Thread Marius van den Berg




[Description: Description: Description: Description: Dipar systems Final.jpg]

Marius van den Berg
t| (021) 946 1171f| (021) 946 1178
NOTICE: This message and any attachments are confidential and intended solely 
for the addressee. If you have received this message in error, please notify 
Johan Mostert immediately, telephone number +27(0) 21 946 1171. Any 
unauthorized use, alteration or dissemination is prohibited.
DiPAR SYSTEMS (Pty) Ltd accepts no liability whatsoever for any loss whether it 
be direct, indirect or consequential, arising from information made available 
and actions resulting there from

inline: image001.jpg___
SailfishOS.org Devel mailing list

[SailfishDevel] 2nd wave delivery: via Jolla store or DNA shop?

2013-11-28 Thread Artem Marchenko
Go my 2nd wave invitation and there are two options:
- buy directly from Jolla with postal delivery
- buy from DNA operator from nearest DNA shop

I assume there is no difference in product-firmware-warranty (or is
there?), but what would be the fastest way to delivery?

Any hunch on whether Jolla first fills DNA stock, then own or the other way
around? :)

Cheers,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] 2nd wave delivery: via Jolla store or DNA shop?

2013-11-28 Thread Franck Routier (perso)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

First wave preorder (on 20/05/13), and still no instruction to
finalize my order :-(


Le 28/11/2013 16:48, Artem Marchenko a écrit :
 Go my 2nd wave invitation and there are two options: - buy directly
 from Jolla with postal delivery - buy from DNA operator from
 nearest DNA shop
 
 I assume there is no difference in product-firmware-warranty (or
 is there?), but what would be the fastest way to delivery?
 
 Any hunch on whether Jolla first fills DNA stock, then own or the
 other way around? :)
 
 Cheers, Artem.
 
 -- Artem Marchenko http://agilesoftwaredevelopment.com 
 http://twitter.com/AgileArtem
 
 
 ___ SailfishOS.org
 Devel mailing list
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSl28VAAoJEGEvoAir78RoNUAH/3Th2zSMmKlQiV4p9azdCC86
EhDqcbfAgk+u2di4IQHA3g9f6H7gx7B5nyh2HYNzk/reOqYd+1avt+fvAoow8xzo
eF6g+3X34/iBWi7lsX7i/5SGCZo2mTKSqAQCXzwokMQfknwxs0gfLBJ1LVZ1OEQQ
MDM0ieUbldiIVSEeALZ5GtXxMBgMBRwuCQChp4jsoVRdBkQR92wjy0EMqz4uuLMl
y+Jq5j30qtpSnV494qXOx1fDm603S/ADzcnYU8EPqwl9lJQZ5HjXwJ7s+XbyGGLX
JDmQzn7p+Akq/+1WHRDRDwoQlBYrINyEKb1AiDCKxHB3CCAdIdaHHE10CqBseYs=
=bPhp
-END PGP SIGNATURE-
___
SailfishOS.org Devel mailing list


[SailfishDevel] Built-in icon theme?

2013-11-28 Thread Thomas Tanghus
In the example in the SDK, there are two examples of built-in icon, 
theme/icon-cover-next and theme/icon-cover-pause.

Are there any other built-in cover icons that can be used?

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Built-in icon theme?

2013-11-28 Thread Damien Tardy-Panis
Hi Thomas,

You can find these icons on the Mer VM
/srv/mer/targets/SailfishOS-i486-x86/usr/share/themes/jolla-ambient/meegotouch/icons/

Just use the same format image://theme/icon-l-play and it's working.

Regards,
Damien

On Thursday 28 November 2013 19:31:27 Thomas Tanghus wrote:
 In the example in the SDK, there are two examples of built-in icon, 
 theme/icon-cover-next and theme/icon-cover-pause.
 
 Are there any other built-in cover icons that can be used?
 
 

___
SailfishOS.org Devel mailing list