Performance difference between using a map in iOS, versus using a map from a mobile map package

598
2
11-01-2020 11:30 PM
by Anonymous User
Not applicable

Is there a difference  in performance between maps and mobile map packages? For example, if I am using a regular map in iOS (creating a mapView, pass in the map, add a layer), is the performance I get from that beeter or worse than having that same map and layer in a mobile map package that I can use offline.

i am wondering because if the performance is better when using a mobile map package, then it might make sense to use that map package whenever possible.

0 Kudos
2 Replies
Nicholas-Furness
Esri Regular Contributor

The performance difference will be in reading the metadata about the layers and obtaining the data to display. If you are creating a map in code and adding data from a feature service, it takes time for that feature service data to get to your iPhone/iPad. On the device, the data contained in the mobile map package is right there and data access is really fast.

The only thing to consider between reading feature data from a feature service and reading it from a MMPK is that a feature service can generalize polygon and polyline data suitably for display so as not to download more vertices than can be displayed. Polygon and polyline feature data read from a MMPK is read in full and not generalized on the fly.

If a mobile map package works for your app, there's no reason you shouldn't use it if you want to. However, web maps allow for the map content to be updated as needed. You need to work out how to distribute your mobile map packages yourself.

Note that as of 100.9, mobile map packages can include "online layers", which can be used when there is a network connection available, so you can get the best of both worlds if need be. There's of course a local storage overhead of using mobile map packages.

Does that answer your question?

0 Kudos
Banksy98
New Contributor

Thank you, that does answer my question.

0 Kudos