Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Set iOS application bundle as asset root #3087

Merged
merged 1 commit into from
Nov 20, 2015
Merged

Set iOS application bundle as asset root #3087

merged 1 commit into from
Nov 20, 2015

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Nov 20, 2015

As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead of pointing asset: into Mapbox.bundle, point it to the application bundle for developer convenience and consistency with the Android and default asset roots. (asset: URLs also work this way for sprite URLs.) Also fixed an issue that prevented relative URLs from being treated as asset: URLs.

Fixes #1208, fixes #3050.

/cc @friedbunny @incanus

@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS offline labels Nov 20, 2015
@1ec5 1ec5 self-assigned this Nov 20, 2015
@1ec5 1ec5 added this to the ios-v3.1.0 milestone Nov 20, 2015
@1ec5 1ec5 changed the title Set iOS application root as asset root Set iOS application bundle as asset root Nov 20, 2015
@friedbunny
Copy link
Contributor

👍 ++

@1ec5 1ec5 modified the milestones: ios-v3.0.0, ios-v3.1.0 Nov 20, 2015
As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead, point asset: to the application root for developer convenience and consistency with the Android and default asset roots. Also fixed an issue that prevented relative URLs from being treated as asset: URLs.

Fixes #1208, fixes #3050.
@1ec5 1ec5 force-pushed the 1ec5-asset-root-3050 branch from 8ef923a to b3dbdb3 Compare November 20, 2015 18:44
@1ec5 1ec5 merged commit b3dbdb3 into master Nov 20, 2015
@1ec5 1ec5 removed the in progress label Nov 20, 2015
@1ec5 1ec5 deleted the 1ec5-asset-root-3050 branch November 20, 2015 19:19
@1ec5
Copy link
Contributor Author

1ec5 commented Nov 20, 2015

Cherry-picked to release-ios-v3.0.0 in c4558d4.

@incanus
Copy link
Contributor

incanus commented Nov 20, 2015

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS offline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

asset://style.json loading is broken iOS: No longer able to load local Sprite resources
3 participants