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

Accept absolute file paths as style URLs #6026

Merged
merged 1 commit into from
Aug 16, 2016
Merged

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Aug 16, 2016

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
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