Inside Plane.qml is currently not possible.
There is one patch under review that adds the MapItemGroup item,
meaning a way to group map items as you ask.
That's however 5.9 material :)
On Wed, 14 Sep 2016 09:52:16 +0530
Kishore J <kitts.mailingli...@gmail.com> wrote:
> And I should mention that the circle should be defined/declared within
> Plane.qml. In other words, the map does not know about the details of
> Plane. It just creates a Plane object which should come with a circle
> around the plane image.
> I just tried defining a MapCircle child of Plane item but got this
> error output at the terminal.
> QML MapQuickItem: Use the sourceItem property for the contained item,
> direct children are not supported
> QML MapCircle: deleting this child
> On Wed, Sep 14, 2016 at 9:43 AM, Kishore J
> <kitts.mailingli...@gmail.com> wrote:
> > Is it possible to make a composite MapItem?
> > Take the plane spotter example (http://doc.qt.io/qt-5/
> > qtlocation-planespotter-example.html). I would like to a add a 500m
> > circle around the plane defined in Plane.qml. Is this possible? How?
> > --
> > Regards,
> > Kishore
Interest mailing list