Bug 336986 - Map element is rendered only once per report
Summary: Map element is rendered only once per report
Status: CLOSED LATER
Alias: None
Product: KEXI
Classification: Applications
Component: Reports and Printouts (show other bugs)
Version: 2.8.3
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: Radosław Wicik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 23:08 UTC by Jarosław Staniek
Modified: 2016-01-29 19:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarosław Staniek 2014-07-02 23:08:41 UTC
Map element is rendered only once per report even if there are many records assigned. This is no matter if map is bound to a data field or not.

Reproducible: Always
Comment 1 Jarosław Staniek 2014-07-02 23:10:07 UTC
Because of the bug, one map is displayed even if two separate map elements are inserted in report.
Comment 2 Radosław Wicik 2015-02-20 23:39:47 UTC
Git commit e9e3e8f1e07046e0145b1128776ab2f9ef752ad4 by Radoslaw Wicik.
Committed on 20/02/2015 at 23:33.
Pushed by wicik into branch 'calligra/2.9'.

Support multiple maps on a single Kexi report

- Hide NavigationFloatItem on rendered maps

Due marble bug, maps data have to be in cache.
If there are wrong data on your report (usually
there's only ocean on the map), close it and
reopen, then data should be shown properly.

HttpDownloadManager.h is a part of public Marble
API, but because of another bug there it is not
installed with Marble heders. This file will be
removed when Marble repair thair bug.
REVIEW:122645

M  +1    -0    plugins/reporting/maps/CMakeLists.txt
M  +63   -151  plugins/reporting/maps/KoReportItemMaps.cpp
M  +24   -17   plugins/reporting/maps/KoReportItemMaps.h
A  +109  -0    plugins/reporting/maps/MapRenderer.cpp     [License: LGPL (v2.1+)]
A  +87   -0    plugins/reporting/maps/MapRenderer.h     [License: LGPL (v2.1+)]
A  +122  -0    plugins/reporting/maps/marble/HttpDownloadManager.h     [License: LGPL]

http://commits.kde.org/calligra/e9e3e8f1e07046e0145b1128776ab2f9ef752ad4
Comment 3 Jarosław Staniek 2015-02-25 21:25:08 UTC
Full fix later.