[Marble-commits] branches/KDE/4.5/kdeedu/marble/src/lib/geodata/handlers/gpx
Dennis Nienhüser
earthwings at gentoo.org
Tue Aug 31 20:05:46 CEST 2010
SVN commit 1170370 by nienhueser:
Fix setCoordinates call on gpx waypoints. Backport of commit 1170366. Will be in KDE 4.5.2 / Marble 0.10.2.
CCBUG: 249632
M +2 -1 GPXwptTagHandler.cpp
--- branches/KDE/4.5/kdeedu/marble/src/lib/geodata/handlers/gpx/GPXwptTagHandler.cpp #1170369:1170370
@@ -57,7 +57,8 @@
{
lon = tmp.toString().toFloat();
}
- placemark.setCoordinate(lat, lon);
+ GeoDataCoordinates coordinate( lon, lat, 0, GeoDataCoordinates::Degree );
+ placemark.setCoordinate( coordinate.longitude(), coordinate.latitude() );
doc->append(placemark);
#ifdef DEBUG_TAGS
mDebug() << "Parsed <" << gpxTag_wpt << "> waypoint: " << doc->size();
More information about the Marble-commits
mailing list