2

We're making offline road-trip planner. We want to use skobbler maps but the main issue is that the framework is way too big.

Even with some trimming down options, it's still over 110Mb (only with skobbler framework).

Inside SKMaps.framework there is a document SKMaps with 95Mb is size. No program can open this document (at least no program i have on my mac atm).

I was wondering what might be in this document and is it possible to 'open' it and remove unnecessary files from it.

I am asking this because when I launch my app with skobbler in it, there is a map of entire world available to explore. I don't need that. I only need several states in the US and that's it. One state is roughly 30Mb in size, which is acceptable and download option for each state can be an asset, so a user downloads only what he needs.

IF there is no way of deleting entire world map from framework, what are my other options?

Can this file SKMaps, with 96Mb in size be downloaded after a user launches an app, so I don't have a huge app on the app store? Can i write and launch my app without SKMaps in the app bundle from the start, and I make the user download it once he starts an app for the first time?

4

1 回答 1

3

编辑 SkMaps.bundle,这将影响 .framework 对象。

实际上,解压后的大小将大于 100 MB,但在打包时(生成 .ipa 文件)只会在最终的应用程序文件中增加约 20MB(即编译演示项目时没有音频建议,只有 1 种风格,针对 armv7 和arm64 将生成一个 ~19.4 的 .ipa 文件)

默认情况下,演示应用程序不“包含”任何地图 - 它连接到服务器并从那里下载地图。

如果您想下载“离线地图” - 请参阅演示应用程序中的“Maps.json 和下载”示例。如果您打算在您的应用程序中“预捆绑”离线地图,请参阅:http ://sdkblog.skobbler.com/creating-an-app-with-a-pre-bundled-map/

于 2015-01-20T13:13:03.250 回答