Resending to the group instead...
On Thu, Sep 8, 2016 at 5:49 PM, Kishore J
wrote:
> Surprising! Can you test if the following code works? You should see one
> yellow circle. But do you also see 2 black and 2 blue circles? I dont see
> them here unless i uncomment the addMapItem lines
>
> /*
It is odd since i tried to correct your code and then it was working
form me.
But feel free to open a bugreport with some sample code that can be
built and run to demonstrate the problem :-)
best,
Paolo
On Thu, 8 Sep 2016 10:04:27 +0530
Kishore J wrote:
> Thanks! I understand how that can be an
Thanks! I understand how that can be an issue. However, I now removed the
enclosing Component (Which really did not do anything). Still, if i do not
call addMapItem() it does not show on the map.
--
Regards,
Kishore
On Wed, Sep 7, 2016 at 7:45 PM, Paolo Angelelli
wrote:
> I see i forgot to answe
I see i forgot to answer one question, about delegates and addMapItem.
The problem in your case is that your delegate is incorrect.
The delegate of a MapItemView must be a Map Item subclass,
that means MapCircle MapRectangle MapPolygon etc.
If you have it wrapped into a Component, when this compo
Thanks for the suggestion, now it's easier not to forget about it :-)
As for the patch i mentioned, that was related to the map center issue
you reported.
Patch being: https://codereview.qt-project.org/168204 (now merged in
5.7)
best,
Paolo
On Tue, 6 Sep 2016 22:53:31 +0530
Kishore J wrote:
>
Done. https://bugreports.qt.io/browse/QTBUG-55782
Given the limitation, I think my immediate alternative is to create a
MapItemView like component that is instantiated outside and write code in
the map that calls addMapItem and removeMapItem on the map as and when the
list is modified. To the draw
On Tue, 6 Sep 2016 19:04:34 +0530
Kishore J wrote:
> Hi
>
> I am inching forward with using QML maps in my C++ application. Now
> i'm interested in dynamically adding multiple MapItemView objects to
> a given map.
>
>
> import QtQuick 2.5
> import QtLocation 5.6
>
> Map {
> id: map
>
Hi
I am inching forward with using QML maps in my C++ application. Now i'm
interested in dynamically adding multiple MapItemView objects to a given
map.
import QtQuick 2.5
import QtLocation 5.6
Map {
id: map
objectName: "MyMap"
// zoomLevel: (maximumZoomLevel - minimumZoomLevel)/2