POST
|
Off the top of my head I can think of four things it could be... Something to do with online/offline, although I can't see how that would make any difference accessing a local mmpk file. If it works online but not offline, possibly there is something else breaking the workflow completely unrelated to this part of your code? Something to do with the file path to the mmpk - in which case the AppStudio team's sample would be helpful (as per previous post). Something to do with the mmpk itself - but if it loads in some situations this would suggest the mmpk is ok. You could test further by swapping out your mmpk for the one from the AppStudio sample to see if that one loads, and vice-versa you could drop your mmpk in place into the AppStudio sample. Or build settings - check are "External Storage" and "File Sharing" turned on? If not, try turning them on just to see if that makes a difference. Another way to troubleshoot, does the "Open MMPK" sample work on your devices from within the AppPlayer? If so, does your app work when run from within AppPlayer? Beyond this, might be hard to troubleshoot without seeing the full code. If sharing the code is a possibility then I'm happy to take a quick look, otherwise you might need to reach out through your normal ESRI support channel to get some specific help.
... View more
01-24-2021
02:45 PM
|
0
|
0
|
122
|
POST
|
Hi all. This is a rather general enquiry. I have a client who have a website using the Silverstripe CMS (Silverstripe CMS » the open source CMS that empowers great web teams » Silverstripe CMS). This client engaged third party developers for some website development who in turn chose to use Mapbox for the map on the website, essentially because the developers were more familiar with using Mapbox within Silverstripe. Does anyone know of any projects, resources, blogs or otherwise that involve using the ArcGIS Javascript API or ArcGIS services in general together with Silverstripe? I did some web searches but couldn't find much. There was one GitHub repo that talked about using Leaflet. I'm not familiar with Silverstripe or PHP myself, but if there were any resources out there I would love to have them up my sleeve in case the discussion comes up with my client. cheers, -Paul
... View more
01-21-2021
07:33 PM
|
0
|
0
|
89
|
POST
|
Is it possibly related to how you are referencing the path to the mmpk? You are referencing a relative path using "../.." which iOS and Android might not like. Or, even if that relative path does work, iOS and Android might not be allowing opening/accessing the files in that particular location (which could involve spinning up temp files etc). I suggest taking a look at the "Open Mobile Map (mmpk)" app sample from the AppStudio team which shows how an mmpk bundled with an app can be then copied across to a user folder and accessed from there. Lines 42 through 51 in the main MyApp.qml file show the data paths and function for copying the data. Hope this helps, if not then please post more info.
... View more
01-21-2021
11:33 AM
|
0
|
2
|
151
|
Online Status |
Offline
|
Date Last Visited |
Wednesday
|