File indexing completed on 2024-12-08 12:12:55

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2012 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 #include <QApplication>
0007 #include <QDebug>
0008 
0009 #include <marble/MarbleWidget.h>
0010 #include <marble/MarbleModel.h>
0011 #include <marble/ReverseGeocodingRunnerManager.h>
0012 
0013 using namespace Marble;
0014 
0015 int main(int argc, char** argv)
0016 {
0017     QApplication app( argc, argv );
0018 
0019     MarbleModel model;
0020     ReverseGeocodingRunnerManager manager( &model );
0021 
0022     GeoDataCoordinates position( -0.15845,  51.52380, 0.0, GeoDataCoordinates::Degree );
0023     qDebug() << position.toString() << "is" << manager.searchReverseGeocoding( position );
0024 }