AnsweredAssumed Answered

mmpk file rendering on one PC and not on other

Question asked by abhijeet.satam on Jul 5, 2019
Latest reply on Jul 7, 2019 by abhijeet.satam

Hello.

 

I have been facing a strange issue. Following code renders offline map on one PC and not on other.

The PCs on which code is working and renders map are:

  • Laptops running Ubuntu 18.04.2 LTS OS on a Virtualbox VM

The system on which code is not rendering map is:

  • A 11" touch-screen tablet running Ubuntu 18.04.2 LTS OS. No VM. 

 

OfflineMap::OfflineMap(QWidget *parent) : QWidget(parent)
{


mgv = new Esri::ArcGISRuntime::MapGraphicsView();
mmpk = new Esri::ArcGISRuntime::MobileMapPackage("/home/Map1.mmpk", this);
mgv->setWrapAroundMode(WrapAroundMode::Disabled);

connect(mmpk, (&Esri::ArcGISRuntime::MobileMapPackage::doneLoading), this, (&OfflineMap::doneLoadingFn));
mmpk->load();

QVBoxLayout *vBoxLayout = new QVBoxLayout();
vBoxLayout->addWidget(mgv);
setLayout(vBoxLayout);
setMinimumWidth(1070);
setMinimumHeight(900);
viewpointfn(32.966, 75.462, 5000000/*10000000*/);
show();

 

}

 

I would like to know what all OS level aspects shall be checked in this case? I am using 100.4 ArcGIS runtime for Qt. 

Outcomes