{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/5488","repository_url":"https://api.github.com/repos/openlayers/ol3","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/5488/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/5488/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/5488/events","html_url":"https://github.com/openlayers/ol3/issues/5488","id":160670662,"number":5488,"title":"How to use mapzen?","user":{"login":"costales","id":5886786,"avatar_url":"https://avatars.githubusercontent.com/u/5886786?v=3","gravatar_id":"","url":"https://api.github.com/users/costales","html_url":"https://github.com/costales","followers_url":"https://api.github.com/users/costales/followers","following_url":"https://api.github.com/users/costales/following{/other_user}","gists_url":"https://api.github.com/users/costales/gists{/gist_id}","starred_url":"https://api.github.com/users/costales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/costales/subscriptions","organizations_url":"https://api.github.com/users/costales/orgs","repos_url":"https://api.github.com/users/costales/repos","events_url":"https://api.github.com/users/costales/events{/privacy}","received_events_url":"https://api.github.com/users/costales/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-16T14:07:20Z","updated_at":"2016-06-24T13:38:31Z","closed_at":null,"body":"Hi,\r\n\r\nI would like to load [mapzen's vector maps](https://mapzen.com/documentation/vector-tiles/) with openlayers:\r\n\r\nI tried this:\r\n\r\n```\r\nvar layer =  new ol.layer.Vector({\r\n\t\t\t source: new ol.source.Vector({\r\n\t\t\t     url: 'http://vector.mapzen.com/osm/roads/{z}/{x}/{y}.json?api_key=mykey',\r\n\t\t\t     format: new ol.format.GeoJSON()\r\n\t\t\t })\r\n\t\t     });\r\n```\r\n\r\nThen:\r\n\r\n```\r\n\tvar map = new ol.Map({\r\n\t\t  layers: [layer],\r\n\r\n```\r\n\r\nBut it's not working. Please, could you put me in the right way :$ Thanks a lot!!"},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/228347797","html_url":"https://github.com/openlayers/ol3/issues/5488#issuecomment-228347797","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/5488","id":228347797,"user":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T13:38:31Z","updated_at":"2016-06-24T13:38:31Z","body":"I copy&pasted your code in a JSFiddle and it seems to work:\r\nhttp://jsfiddle.net/fmu2tnq3/1/"}}
{"actor":{"display_login":"tsauerwein"}}