Hello,
I want to know how we can load more than one mmpk file for a single screen.Right now I am using this c++ in qt Creator 5.12.0 and ARCGIS 100.4 on RHEL 7.6.Go through this code if i am doing any mistake then please correct.
= "/home/Gis/ChartEngine/Arcgis/Runtime/Data/MMpk/India.mmpk";
path2 = "/home/Gis/ChartEngine/Arcgis/Runtime/Data/MMpk/Pak.mmpk";path1
MobileMapPackage *<CODE class="">m_mobileMapPackage1 = <SPAN class="">new</SPAN> MobileMapPackage(path1, <SPAN class="">this</SPAN>); <CODE class="">MobileMapPackage *m_mobileMapPackage2 = <SPAN class="">new</SPAN> MobileMapPackage(path1, <SPAN class="">this</SPAN>);
<SPAN class=""></SPAN> connect(m_mobileMapPackage2, &MobileMapPackage::doneLoading, <SPAN class="">this</SPAN>, [<SPAN class="">this</SPAN>](Error error) {<SPAN class=""></SPAN> m_mapView->setMap(m_mobileMapPackage2->maps().at(<SPAN class="">0</SPAN>)); });<CODE class=""><SPAN class=""></SPAN> connect(m_mobileMapPackage1, &MobileMapPackage::doneLoading, <SPAN class="">this</SPAN>, [<SPAN class="">this</SPAN>](Error error) {<SPAN class=""></SPAN> m_mapView->setMap(m_mobileMapPackage1->maps().at(<SPAN class="">0</SPAN>)); });
m_mobileMapPackage->load();m_mobileMapPackage2->load();
So when screen is coming , whatever is getting loaded last that one is only getting shown in screen.
My project requirement :-
I have to show india and pak in a single view by using mmpk file.Aditya PeriAlexandra GajewskiAndrew RossAllen ThompsonRebecca McKinleyJon Fiskness Hilary LeavellHuailin wangArcGIS IdeasException rendering offline FeatureLayerquery on ShapefileFeatureTable