title: GeoJSON projection of external file vs. internal object
body: <p>I have this external GeoJSON file:</p>
  
  <pre><code>{"type": "FeatureCollection", "features": [ {"type":"Feature", "id":382, "properties":{"name":"Foo","description":"Bar"}, "geometry":{"type":"MultiPolygon","coordinates":[[[[100.51731551305,14.018177133438],[100.517959243205,14.0188303173272],[100.517133122834,14.0194652831494],[100.516628867536,14.0198920624699],[100.51755154744,14.0206831634993],[100.521199351693,14.0200794287498],[100.518087989239,14.0167692686143],[100.517798310678,14.0169176022848],[100.51731551305,14.018177133438]]]]}} ] }
  </code></pre>
  
  <p>If I use it like this, it's located properly:</p>
  
  <pre><code>var vectorSource = new ol.source.Vector({
      url: 'data.geojson',
      format: new ol.format.GeoJSON(),
      projection : 'EPSG:4326',
  });
  
  var vectorLayer = new ol.layer.Vector({
    source: vectorSource
  });
  
  var map = new ol.Map({
          target: 'map',
          layers: [
            new ol.layer.Tile({
              source: new ol.source.MapQuest({layer: 'sat'})
            }),
            vectorLayer
          ],
          view: new ol.View({
            center: ol.proj.transform([100.514,14.012], 'EPSG:4326', 'EPSG:3857'),
            zoom: 11
          })
        });
  </code></pre>
  
  <p>However, if I try to insert the GeoJSON directly as an object, the layer is displayed as a tiny dot at position 0, 0:</p>
  
  <pre><code>var geojsonObject = {"type": "FeatureCollection", "features": [ {"type":"Feature", "id":382, "properties":{"name":"Foo","description":"Bar"}, "geometry":{"type":"MultiPolygon","coordinates":[[[[100.51731551305,14.018177133438],[100.517959243205,14.0188303173272],[100.517133122834,14.0194652831494],[100.516628867536,14.0198920624699],[100.51755154744,14.0206831634993],[100.521199351693,14.0200794287498],[100.518087989239,14.0167692686143],[100.517798310678,14.0169176022848],[100.51731551305,14.018177133438]]]]}} ] };
  
  var vectorSource = new ol.source.Vector({
    features: (new ol.format.GeoJSON()).readFeatures(geojsonObject),
    projection : 'EPSG:4326'
  });
  
  var vectorLayer = new ol.layer.Vector({
    source: vectorSource
  });
  
  var map = new ol.Map({
          target: 'map',
          layers: [
            new ol.layer.Tile({
              source: new ol.source.MapQuest({layer: 'sat'})
            }),
            vectorLayer
          ],
          view: new ol.View({
            center: ol.proj.transform([100.514,14.012], 'EPSG:4326', 'EPSG:3857'),
            zoom: 11
          })
        });
  </code></pre>
  
  <p>What's wrong here?</p>