Hi,
I'm trying to figure out how I can react to mouse events on map objects.
Adding a MouseArea (like shown below) does not work with the following
error: "Cannot assign to non-existent default property".
I've also checked qdeclarativegeomaprectangleobject_p.h and
qdeclarativegeomapobject_p.h from current Master, but can't find signals
for mouse events.
Is there a way or is it simply not implemented yet? If it's not
implemented yet, can we expect it to be in 1.1 and will it reuse
MouseArea?
Thanks!
Conny
---------------------------
Item {
width: 600
height: 400
Map {
id: map
anchors.fill: parent
zoomLevel: 8
center: Coordinate {
latitude: 12
longitude: 50
}
MapRectangleObject {
topLeft: Coordinate {
latitude: 11.9
longitude: 49.9
}
bottomRight: Coordinate {
latitude: 12.1
longitude: 50.1
}
color: "red"
MouseArea {
anchors.fill: parent
onClicked: console.log("Hello")
}
}
}
}
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback