-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Default low-zoom version of Streets source. #12051
Comments
A low-zoom map would appear in an application at runtime, so it needs to match the application’s intended style to avoid jarring effects or even undefined runtime styling behavior. That would preclude a static image along the lines of what was proposed in #9480. It’s probably possible to bundle the SDK with a very small, hard-coded z0 layer without labels based on Natural Earth. But this only helps in the case where the application starts out looking at the whole world – it wouldn’t help if the application starts out zoomed in on the user’s location or a particular region of interest. Additionally, the style JSON and other assets would need to be bundled with the application; the SDK probably can’t come bundled with anything that would facilitate that. The most robust solution for an offline first launch would be bundle an offline pack with the application and sideload it. However, that process is currently pretty fraught and still assumes the developer knows where on the map the user will be looking upon first launch. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
The iOS team started a conversation around the following recommendation from the ios-factor:
It's common to open an app and wait few seconds for it to respond. Offline-conscious developers may place a default image/loader that indicates something is happening. To improve the overall experience with our maps we may be able provide a low-zoom version of Streets source, and preload the tiles into cache.db just for the very first time. Something along the lines:
We may implement this in core to improve the UX for all platforms.
/cc @mapbox/maps-ios @mapbox/gl-core @mapbox/maps-android @ericdeveloper
The text was updated successfully, but these errors were encountered: