[Marble-devel] Marble Declarative Data Layers do not show dynamical changes in its models
Олег Любимов
lyubimov.o.e at gmail.com
Mon Jun 2 07:15:03 UTC 2014
Hi All.
I am transfering my project to the new Marble release branch (4.13) from
"plasma_active_sock_2012". I have found the following bug:
Marble Declarative Data Layers , which were declared in QML, do not show
any dynamic changes in their model. All changes in the model are shown on
the MarbleWidget after restarting the application (with MarbleWidget ). For
example: you add new item to the model (which has binding with DataLayer in
QML) and this item should be immediately shown on the map. But the item
will be shown only if you restart the application. If you change any item
properties: coordinates, color, text, size, etc. all your changes will also
be shown only after restarting your application. On the branch
"sok-2012-plasma-active" everything works ok (MarbleWidget shows all
changes in the DataLayes ' s model immediately)
To reproduce this bug you can compile and run the "DynamicLayer" example
from "marble/examples/qml/data-layers". The items are added to the
EarthquakesModel, but you can't see this items on the map (my project use
the same method to add objects to the map).
I've submitted a bug https://bugs.kde.org/show_bug.cgi?id=333305 which
describes this problem, but nobody took note of the bug.
Does anybody have the same problems? This problem is a bug or a feature? If
it is a bug, what marble class measures up to the declarative DalaLayer
view?
--
C уважением,
Любимов Олег.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140602/f7dbd724/attachment.html>
More information about the Marble-devel
mailing list