AnsweredAssumed Answered

Regarding Tile Package in Version 100

Question asked by ecil123 on Dec 30, 2016
Latest reply on Jan 3, 2017 by LDanzinger-esristaff

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.

Outcomes