You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to change the map type and i get
qrc:/main.qml:24: ReferenceError: supportedMapTypes is not defined qrc:/main.qml: 24
when i try to get the maptypes.
This is my qml file.
Hello, I'm trying to change the map type and i get
qrc:/main.qml:24: ReferenceError: supportedMapTypes is not defined qrc:/main.qml: 24
when i try to get the maptypes.
This is my qml file.
`import QtQuick 2.0
import QtQuick.Window 2.14
import QtLocation 5.15
import QtPositioning 5.15
import QtQuick.Controls 2.15
Window {
width: Qt.platform.os == "android" ? Screen.width : 512
height: Qt.platform.os == "android" ? Screen.height : 512
visible: true
// GroupBox{
// title:"map types"
// ComboBox{
// model:mapPlugin.supportedMapTypes
// textRole:"description"
// onCurrentIndexChanged: mapPlugin.activeMapType = mapPlugin.supportedMapTypes[currentIndex]
// }
// }
}
`
Is it implemented?
Thanks!
The text was updated successfully, but these errors were encountered: