Select to view content in your preferred language

Regarding Tile Package in Version 100

1476
1
12-30-2016 10:32 PM
Bhargav_KumarK
Emerging Contributor

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.

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

This is a known issue. Please use the constructor that takes a TileCache instead of a URL. 

- Luke 

0 Kudos