{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/857","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/857/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/857/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/857/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/857","id":50719023,"number":857,"title":"add support for asset://","user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-02T20:57:36Z","updated_at":"2015-05-26T15:09:25Z","closed_at":null,"body":"Background in https://github.com/mapbox/mapbox-gl-native/issues/579. For web, these will likely be in a known, hosted place such as the current `http://mapbox.com/mapbox-gl-styles/...`. "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/105557920","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/857#issuecomment-105557920","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/857","id":105557920,"user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T15:09:25Z","updated_at":"2015-05-26T15:09:25Z","body":"Can't find the original ticket, but I think @kkaefer had expressed the idea that we remain consistent between platform styles so that they are interchangeable. I agree with that. \r\n\r\nThe scheme could fall back; hadn't considered that. We can do whatever we like since we are creating the `asset://` scheme but the original intent is only local, since this can be counted on for bundled styles. \r\n\r\nOn JS, maybe it could treat as a relative path, otherwise look in a defined place such as `/mapbox-gl-styles`? "}}