| Summary: | GeoDataPlacemark not visible in coordinates [0; 0] | ||
|---|---|---|---|
| Product: | [Applications] marble | Reporter: | Paolo Dastoli <paolo.dastoli> |
| Component: | general | Assignee: | marble-bugs |
| Status: | REPORTED --- | ||
| Severity: | major | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.5 (KDE Applications 18.04) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
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