Hi, The short answer is no.
The long answer is that unfortunately, the landamrks API doesn't support custom attributes. This was a limitation of the underlying datastores of the tier 1 platforms. Even if you sublcass QLandmark and add a bearing attribute, the manager will not recognise the attribute and save it. There are of course workarounds with varying degrees of hackiness to them, like setting up a specialized datastore/DB to store the landmark id and bearing, while using the landmarks API to store the rest of the landmark data. I don't belive the lmx format supports bearing either. Regards, Amos ________________________________________ From: qt-mobility-feedback-boun...@trolltech.com [qt-mobility-feedback-boun...@trolltech.com] On Behalf Of ext Daniel Q [daniel.programm...@gmail.com] Sent: Friday, 12 November 2010 2:01 PM To: qt-mobility-feedback@trolltech.com Subject: [Qt-mobility-feedback] Can QLandmark have bearing? Hello, The current implementation of QLandmark doesn't include bearing. In most cases, bearing doesn't seem necessary.However, some particular landmarks can only be seen from a particular viewpoint. For example, two landmarks stand back to back with the same coordinates, you could only see one of the two landmarks at one time and you would like your smartphone only tells the landmark you are facing. In this case, bearing might solve the problem. I could create a subclass of QLandmark and add bearing attribute, but there might have some problems with QLandmarkManager. I am trying to use gpx format to store/retrieve landmarks (are there some other ways that I could easily customize attributes?) which can't add bearing attribute. Could anyone share some thoughts? Best Regards, -Daniel _______________________________________________ Qt-mobility-feedback mailing list Qt-mobility-feedback@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback