Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to 'precache' areas of the map on iOS #21

Open
leftsider123 opened this issue Oct 26, 2017 · 5 comments
Open

Make it possible to 'precache' areas of the map on iOS #21

leftsider123 opened this issue Oct 26, 2017 · 5 comments

Comments

@leftsider123
Copy link

Every time back into the app, map data to reload, need to have a long time, is there a cache to the local API?

@tompaynter03
Copy link

Map tiles are streamed over the internet, but are cached in local device storage once downloaded. After restarting the app, if a map tile is already cached, no web request is made. You should be able to confirm this by re-running your app with your device internet connection disabled - if you can see the map, then this is using cached data.

@leftsider123
Copy link
Author

Mobile phones can even get to the Internet, into the map each time, every time to download the map data, this time is very long, is there any suggestion of scheme can improve the, improve the user experience

@leftsider123
Copy link
Author

Have any interface can be set to map first load the cached data, map the request again after the new data?

@tim-jenks
Copy link

We have underlying 'precache' support in our C++ SDK, this is not currently exposed in the iOS API - we will expose this as soon as possible. Marking this as Enhancement and changing title to reflect.

@tim-jenks tim-jenks changed the title If there is a map data cache? Make it possible to 'precache' areas of the map on iOS Oct 27, 2017
@tim-jenks tim-jenks added this to the WRLD iOS SDK 0.2.N milestone Oct 27, 2017
@leftsider123
Copy link
Author

Thank you very much!
Mobile phone connected to the network, the app to restart, requests for data map will be finish until the data request, the map will be displayed;
This process need time is longer, the user experience is bad;
Can let the map display has cached data, let the user see map, then to request data.

非常感谢!
手机连着网络的时候,app重启的时候,地图会先进行数据请求,直到数据请求完,地图才会显示出来;
这个过程需要的时间比较长,用户体验不好;
能不能先让地图展示已经缓存的数据,让用户看到地图,再去请求数据。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants