We created tile package in Arc Desktop 10.5. This tile package we wanted to use in Arc GIS Qt 100.0 runtime application as base map using following code snippet
ArcGISTiledLayer m_tiledLayer = new ArcGISTiledLayer(QUrl::fromLocalFile("/home/sau/Desktop/untitled.tpk"), this);
Basemap *basemap = new Basemap(m_tiledLayer);
Map m_map = new Map(basemap, this);
MapGraphicsView m_mapView = new MapGraphicsView(this);
m_mapView->setMap(m_map);
setCentralWidget(m_mapView);
We are not able to see tpk in map view widget.
This is a known issue. Please use the constructor that takes a TileCache instead of a URL.
- Luke