I created a mmpk as follows...this has been all through testing...
1. created a TPK with aerials
2. I then took the tpk and added contour lines and created the mmpk...
When I use the Quick Report template and point the offline button to this mmpk it draw the aerials and contour lines fine...everything looks great.
But I have a separate page that I am trying to show this mmpk file on and ONLY the aerials show up...the contours are not showing....I imagine only the first index in the mmpk is drawing? NO idea here.
I am trying to show this .mmpk in a few different ways but neither shows the contour lines....is there something that I am missing. In the Quick report template there is code for a MobileMapPackage { but not in my second page. NOTE that I have a few mmpk files and 2 tpk files that I want the user to be able to display. Right now just trying to get the mmpk file to draw correctly with the contours.
ListModel <SPAN class="punctuation token">{</SPAN>
id<SPAN class="punctuation token">:</SPAN> tpkList
ListElement <SPAN class="punctuation token">{</SPAN> text<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"Second TPK Basemap"</SPAN><SPAN class="punctuation token">;</SPAN> map<SPAN class="punctuation token">:</SPAN> "file<SPAN class="punctuation token">:</SPAN><SPAN class="operator token">/</SPAN><SPAN class="comment token">//storage/82FF-66AD/Android/data/QuickReport/backgrounddatammpk.mmpk" }</SPAN>
ListElement <SPAN class="punctuation token">{</SPAN> text<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"Second TPK Basemap"</SPAN><SPAN class="punctuation token">;</SPAN> map<SPAN class="punctuation token">:</SPAN> "file<SPAN class="punctuation token">:</SPAN><SPAN class="operator token">/</SPAN><SPAN class="comment token">//storage/82FF-66AD/Android/data/QuickReport/District_23.mmpk" }</SPAN>
ListElement <SPAN class="punctuation token">{</SPAN> text<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"Second TPK Basemap"</SPAN><SPAN class="punctuation token">;</SPAN> map<SPAN class="punctuation token">:</SPAN> "file<SPAN class="punctuation token">:</SPAN><SPAN class="operator token">/</SPAN><SPAN class="comment token">//storage/82FF-66AD/Android/data/QuickReport/sd.tpk" }</SPAN>
ListElement <SPAN class="punctuation token">{</SPAN> text<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"Second TPK Basemap"</SPAN><SPAN class="punctuation token">;</SPAN> map<SPAN class="punctuation token">:</SPAN> "file<SPAN class="punctuation token">:</SPAN><SPAN class="operator token">/</SPAN><SPAN class="comment token">//storage/82FF-66AD/Android/data/QuickReport/District41_100Ft_Contours.mmpk" }</SPAN>
<SPAN class="punctuation token">}</SPAN>
Basemap <SPAN class="punctuation token">{</SPAN>
id<SPAN class="punctuation token">:</SPAN> basemap
<SPAN class="punctuation token">}</SPAN>
<SPAN class="comment token">// OR </SPAN>
Basemap <SPAN class="punctuation token">{</SPAN>
id<SPAN class="punctuation token">:</SPAN> basemap
ArcGISTiledLayer <SPAN class="punctuation token">{</SPAN>
url<SPAN class="punctuation token">:</SPAN> tpkList<SPAN class="punctuation token">.</SPAN><SPAN class="keyword token">get</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="number token">3</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN>map
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="comment token">// OR</SPAN>
Basemap <SPAN class="punctuation token">{</SPAN>
id<SPAN class="punctuation token">:</SPAN> basemap
MobileMapPackage <SPAN class="punctuation token">{</SPAN>
path<SPAN class="punctuation token">:</SPAN> tpkList<SPAN class="punctuation token">.</SPAN><SPAN class="keyword token">get</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="number token">3</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN>map
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>