{"action":"opened","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/4264","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/4264/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/4264/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/4264/events","html_url":"https://github.com/openlayers/ol3/issues/4264","id":111264697,"number":4264,"title":"Using url for ol.source.Vector source does not always render geoJson features","user":{"login":"Barryrowe","id":1013426,"avatar_url":"https://avatars.githubusercontent.com/u/1013426?v=3","gravatar_id":"","url":"https://api.github.com/users/Barryrowe","html_url":"https://github.com/Barryrowe","followers_url":"https://api.github.com/users/Barryrowe/followers","following_url":"https://api.github.com/users/Barryrowe/following{/other_user}","gists_url":"https://api.github.com/users/Barryrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/Barryrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Barryrowe/subscriptions","organizations_url":"https://api.github.com/users/Barryrowe/orgs","repos_url":"https://api.github.com/users/Barryrowe/repos","events_url":"https://api.github.com/users/Barryrowe/events{/privacy}","received_events_url":"https://api.github.com/users/Barryrowe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T20:32:22Z","updated_at":"2015-10-13T20:32:22Z","closed_at":null,"body":"I'm working through some simple examples, and I've found that for some reason valid GeoJSON data that can be read as features inline, or manually loaded into a layer via an AJAX call, fails to load and render properly when using \r\n\r\n    new ol.source.Vector({\r\n        url: 'my-url/here.geojson',\r\n        format: new ol.format.GeoJSON()\r\n    })\r\n\r\nIt works fine when I use the example geoJson from the vector layer example: http://openlayers.org/en/master/examples/vector-layer.html\r\n\r\nHowever, when I load in a custom geoJSON file through the url option, it never renders the features. I can debug and see the load featureloader.xhr succeeds and gets the text properly. I can even see it properly parse the features and validate they get added to the source. I also watched the projection at that point, and it is reflecting that set on the View. However, the features don't ever render.\r\n\r\nI've created a repro here in this plnkr: http://plnkr.co/edit/Sw7kIad6NnxrUf6dfDdD\r\n\r\nIt creates 3 layers with the data in question:\r\n\r\n1. does so inline, where the data is an inline literal javascript object\r\n2. attempts to use the url option on a Vector source (should fill in yellow circles for the 2 points but doesn't)\r\n3. manually makes an ajax call and adds calls readFeatures from the result (does so if you click the button)\r\n\r\nI'm hoping this is something with my data, but it appears that the url option on ol.source.Vector is just partially broken\r\n"}}