[marble] [Bug 423486] New: GeoDataPlacemark not visible in coordinates [0; 0]
Paolo Dastoli
bugzilla_noreply at kde.org
Thu Jun 25 11:30:04 BST 2020
https://bugs.kde.org/show_bug.cgi?id=423486
Bug ID: 423486
Summary: GeoDataPlacemark not visible in coordinates [0; 0]
Product: marble
Version: 2.5 (KDE Applications 18.04)
Platform: Other
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: marble-bugs at kde.org
Reporter: paolo.dastoli at gmail.com
Target Milestone: ---
SUMMARY
The following code displays nothing on the globe:
auto mark = new Marble::GeoDataPlacemark(QString::number(0));
mark->setCoordinate(Marble::GeoDataCoordinates(0, 0, 0.0,
Marble::GeoDataCoordinates::Degree));
Marble::GeoDataStyle::Ptr pinStyle(new Marble::GeoDataStyle);
Marble::GeoDataIconStyle iconStyle;
iconStyle.setIconPath(QStringLiteral("icon.png"));
pinStyle->setIconStyle( iconStyle );
mark->setStyle(pinStyle);
Simply set coordinates other than 0 to correctly display the symbol.
SOFTWARE/OS VERSIONS
Marble: v20.03.80
Qt Version: 5.12.7
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Marble-bugs
mailing list