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

Accept absolute file paths as style URLs - #6026

Merged
frederoni merged 1 commit into
masterfrom
1ec5-asset-absolute-6024
Aug 16, 2016
Merged

frederoni merged 1 commit into
masterfrom
1ec5-asset-absolute-6024

Conversation

@1ec5

@1ec5 1ec5 commented Aug 16, 2016 •

Copy link
Copy Markdown
Contributor

It turns out that mbgl::AssetFileSource supports absolute file URLs in addition to relative file URLs. So replace the file: scheme with asset: while percent-escaping as necessary.

Also added amsterdam.geojson to macos.xcodeproj for consistency with ios.xcodeproj.

Fixes #3505.

/cc @frederoni

It turns out that mbgl::AssetFileSource supports absolute file URLs in addition to relative file URLs. So replace the file: scheme with asset: while percent-escaping as necessary.

Also added amsterdam.geojson to macos.xcodeproj for consistency with ios.xcodeproj.
@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Aug 16, 2016
@1ec5 1ec5 self-assigned this Aug 16, 2016
@frederoni

Copy link
Copy Markdown
Contributor

👍

@frederoni
frederoni merged commit 1daba5d into master Aug 16, 2016
@frederoni
frederoni deleted the 1ec5-asset-absolute-6024 branch August 16, 2016 08:17
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 macOS Mapbox Maps SDK for macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants