~ubuntu-branches/ubuntu/quantal/marble/quantal

« back to all changes in this revision

Viewing changes to src/lib/geodata/handlers/kml/KmlPointTagHandler.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Kolberg
  • Date: 2012-05-26 15:14:42 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20120526151442-qihwzeki8qlr9ip4
Tags: 4:4.8.80-0ubuntu1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "KmlElementDictionary.h"
27
27
#include "GeoDataPlacemark.h"
28
28
#include "GeoDataMultiGeometry.h"
 
29
#include "GeoDataPhotoOverlay.h"
29
30
#include "GeoParser.h"
30
31
 
31
32
namespace Marble
55
56
                 << " parent item name: " << parentItem.qualifiedName().first;
56
57
#endif // DEBUG_TAGS
57
58
        return point;
 
59
    } else if( parentItem.represents( kmlTag_PhotoOverlay ) ) {
 
60
#ifdef DEBUG_TAGS
 
61
        mDebug() << "Parsed <" << kmlTag_Point << "> returning: " << parentItem.nodeAs<GeoDataPhotoOverlay>()
 
62
                 << " parent item name: " << parentItem.qualifiedName().first;
 
63
#endif // DEBUG_TAGS
 
64
        return &parentItem.nodeAs<GeoDataPhotoOverlay>()->point();
58
65
    }
59
66
    return 0;
60
67
}