Hi, > QList<QGeoMapObject*> objects = > mapObjectsAtScreenPosition(event->screenPos());
It might be worth trying event->pos() instead of event->screenPos(). Let me know how that goes. > There are a couple of problems: > * Using QGeoMapCircleObject, the area where an object is found is much > smaller than the graphical representation of that circle. Also it looks > like it's affected by zooming. > > * Using QGeoMapPixmapObject, I can click as much as I want and never > is > an object found. I haven't seen either of these before - hopefully it's coming from the difference between pos() and screenPos(). Let me know and I'll update the documentation to reflect that (apparently significant difference). > * Using a QGeoMapGroupObject containing a QGeoMapCircleObject and a > QGeoMapPixmapObject, sometimes the pixmap is found, sometimes the > circle, sometimes both. Never is the group object found. I would expect > the group object to be found, not the individual child objects. The intent of the group object is solely to group objects - for instance, when a user wants to add a lot of landmark pixmap objects to the map with the ability to remove them all quickly later on. With that as the main intent I'm not sure it makes sense for the group to be clickable. Cheers, Dave _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
