fix for Qt6
MapView add contrast property MapView fix plugin
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "mapplugin.h"
|
||||
|
||||
#include "mapview.h"
|
||||
#include "mapview_tile_provider_osm.h"
|
||||
|
||||
#include <QtCore/QtPlugin>
|
||||
|
||||
@@ -26,6 +27,7 @@ bool MapPlugin::isInitialized() const {
|
||||
|
||||
QWidget * MapPlugin::createWidget(QWidget * parent) {
|
||||
MapView * w = new MapView(parent);
|
||||
w->setTileProvider(new MapViewTileProvider_OSM());
|
||||
return w;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user