我正在尝试在地图集地图样式上实现https://openweathermap.org/api/weathermaps的openweathermap地图天气图层,但我不知道将图像平铺源放在json文件上的位置。我可以帮忙吗? 谢谢。我正在使用Mapbox for Qt,这是我的代码,我正在使用Qt的Mapbox地图,这是我的QML代码
MapParameter {
id: source
type: "source"
property var name: "weatherSource"
property var sourceType: "raster"
property var url: "https://tile.openweathermap.org/"
property var tiles:
["https://tile.openweathermap.org/map/clouds_new/{z}/{x}/{y}.png?appid=API_ID"]
property var tileSize: 256
property var scheme: "xyz"
property var minzoom: 4.0
property var maxzoom: 20.0}
MapParameter {
type: "layer"
property var name: "wind_weather"
property var layerType: "raster"
property var source: "weatherSource"}