[Interest] Composite (Image+circle) MapItem

Kishore J kitts.mailinglists at gmail.com
Wed Sep 21 04:41:54 CEST 2016


On 19-Sep-2016 3:11 pm, "Paolo Angelelli" <paolo.angelelli at qt.io> wrote:
>
> Inside Plane.qml is currently not possible.

Is there anyway to get a reference to map from within Plane? And be
notified when Plane was added to this map and when it was removed.

> 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 :)

And that be atleast a year. Right?
--
Regards,
Kishore

> best,
> Paolo
>
> On Wed, 14 Sep 2016 09:52:16 +0530
> Kishore J <kitts.mailinglists at 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
> > --
> > Regards,
> > Kishore
> >
> > On Wed, Sep 14, 2016 at 9:43 AM, Kishore J
> > <kitts.mailinglists at 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
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160921/7bf27a8b/attachment.html>


More information about the Interest mailing list