I am trying to display on a Map elements retrieved from the network.
It seems possible to use landmarks to have the elements at the correct place on the map (see http://doc.qt.nokia.com/qtmobility-1...rkmap-qml.html ), but i cannot add landmarks that are not directly loaded from a file to the landmarkmodel.
I tried to use a ListModel populated by javascript, but i can't find how to declare a Coordinate element in javascript, and therefore the element is declared like this :
but if the map is moved, the position on the screen is not updated.Code:Component { id: itemMapDelegate Item { property Coordinate coordinate: Coordinate {latitude: location.latitude; longitude: location.longitude} Image { id: landmarkIcon y: map.toScreenPosition(coordinate).y x: map.toScreenPosition(coordinate).x } } }
I don't really know where to go from here.



