AnsweredAssumed Answered

ArcGISTiledLayer will not load

Question asked by nliccini on Sep 21, 2017
Latest reply on Sep 22, 2017 by nliccini



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("");
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);