I have this block of code
MapView{
id:mapView
anchors.fill: parent
Component.onCompleted: {
mapView.map = ArcGISRuntimeEnvironment.createObject("Map", {"initUrl": 'https://www.arcgis.com/home/item.html?id=c74acddfcb1844eb90f8f9d40be2c823'});
}
}
I want to create a map within mapView but the result is just a gray screen. Is there a correct method of doing this? Because I will need to be able to create x amount of maps. And can't declare each one specifically.