You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
745 B
31 lines
745 B
// Copyright (C) 2023 MapLibre contributors
|
|
// Copyright (C) 2017 The Qt Company Ltd.
|
|
// Copyright (C) 2017 Mapbox, Inc.
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
#pragma once
|
|
|
|
#include "export_location.hpp"
|
|
|
|
#include <QMapLibre/Settings>
|
|
|
|
#include <QtLocation/private/qgeomappingmanagerengine_p.h>
|
|
#include <QtLocation/QGeoServiceProvider>
|
|
|
|
namespace QMapLibre {
|
|
|
|
class Q_MAPLIBRE_LOCATION_EXPORT QtMappingEngine : public QGeoMappingManagerEngine {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QtMappingEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString);
|
|
|
|
QGeoMap *createMap() override;
|
|
|
|
private:
|
|
Settings m_settings;
|
|
QString m_mapItemsBefore;
|
|
};
|
|
|
|
} // namespace QMapLibre
|
|
|