Offline map tiles from a remote server

124
1
Jump to solution
2 weeks ago
FatmaAkdemir
New Contributor III

We are using ServiceImageTiledLayer to display our offline map tiles on local disk as below:

setTileUrl(tileKey, QUrl(QString("/home/fatma/world_imagery_arcgis/%1/%2/%3.png").arg(
                          QString::number(tileKey.level()),
                          QString::number(tileKey.column()),
                          QString::number(tileKey.row()))));

If the image tiles were on a remote computer or server on local network, how would I retrieve the image tiles? We do not want map tiles to reside on the same computer with the executable.

0 Kudos
1 Solution

Accepted Solutions
JamesBallard1
Esri Contributor

Hi @FatmaAkdemir . In the case of local tile data (or over the local network), you would want to implement your own ImageTiledLayer which has the signals and method which will work for this scenario. As long as you can access the tile info over the network/filesystem, this will work.

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-imagetiledlayer.html#creating-...

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-imagetiledlayer.html#setTileDa...

 

View solution in original post

0 Kudos
1 Reply
JamesBallard1
Esri Contributor

Hi @FatmaAkdemir . In the case of local tile data (or over the local network), you would want to implement your own ImageTiledLayer which has the signals and method which will work for this scenario. As long as you can access the tile info over the network/filesystem, this will work.

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-imagetiledlayer.html#creating-...

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-imagetiledlayer.html#setTileDa...

 

View solution in original post

0 Kudos