Hi!
I am trying to use the following URL to create an instance of ArcGISTiledLayer but the map will not load. I think it has to do with needing credentials to use this particular URL, but even passing a Credential object does not fix the issue.
Maybe I am approaching this in the wrong way, but it seems like this should work:
serviceUrl_ = QUrl("https://tiledbasemaps.arcgis.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer");Credential* creds = new Credential(username, password, this);
ArcGISTiledLayer* tiledLayer = new ArcGISTiledLayer(serviceUrl_, creds, this);
Basemap* basemap = new Basemap(tiledLayer, this);
p_Map_ = new Map(basemap, this);
p_MapView_->setMap(p_Map_);