We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using Maplibre in a windows, qt6.5.3 environment, and the import structure is as follows The question is at the end Thank you for your answer
set(CMAKE_PREFIX_PATH "G:/Desktop/Demo/maplibre/install;H:/QT6.6.3/6.5.3/mingw_64") set(QML_IMPORT_PATH "G:/Desktop/Demo/maplibre/install/qml") set(QT_PLUGIN_PATH "G:/Desktop/Demo/maplibre/install/plugins")
engine.addImportPath(QString("G:/Desktop/Demo/maplibre/install/qml"));
import QtQuick 2.15 import QtLocation 6.5 import QtPositioning 6.5
import MapLibre 3.0
Window { width: 512 height: 512 visible: true Plugin { id: mapPlugin name: "maplibre"
PluginParameter { name: "maplibre.map.styles" value: "https://demotiles.maplibre.org/style.json" } } MapView { id: mapView anchors.fill: parent map.plugin: mapPlugin map.zoomLevel: 5 map.center: QtPositioning.coordinate(41.874, -75.789) MapLibre.style: Style { id: style SourceParameter { id: radarSourceParam styleId: "radar" type: "image" property string url: "https://maplibre.org/maplibre-gl-js/docs/assets/radar1.gif" property var coordinates: [ [-80.425, 46.437], [-71.516, 46.437], [-71.516, 37.936], [-80.425, 37.936] ] } LayerParameter { id: radarLayerParam styleId: "radar-layer" type: "raster" property string source: "radar" paint: { "raster-opacity": 0.9 } } } }
}
I am using Maplibre in the windows qt6.5.3 environment, and the error is as follows 1 , "The geoservices provider is not supported."
Here's why
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using Maplibre in a windows, qt6.5.3 environment, and the import structure is as follows
The question is at the end
Thank you for your answer
CmakeList:
set(CMAKE_PREFIX_PATH "G:/Desktop/Demo/maplibre/install;H:/QT6.6.3/6.5.3/mingw_64")
set(QML_IMPORT_PATH "G:/Desktop/Demo/maplibre/install/qml")
set(QT_PLUGIN_PATH "G:/Desktop/Demo/maplibre/install/plugins")
main.cpp:
engine.addImportPath(QString("G:/Desktop/Demo/maplibre/install/qml"));
Main.qml:
import QtQuick 2.15
import QtLocation 6.5
import QtPositioning 6.5
import MapLibre 3.0
Window {
width: 512
height: 512
visible: true
Plugin {
id: mapPlugin
name: "maplibre"
}
Issiue:
I am using Maplibre in the windows qt6.5.3 environment, and the error is as follows
1 , "The geoservices provider is not supported."
Here's why
The text was updated successfully, but these errors were encountered: