title: Openlayers feature creation issue
body: <p>I am creating a Point feature, like this:</p>
  
  <pre><code>const myFeature = {
      "geometry": {"coordinates": [position[0], position[1]], "type": "Point"},
      "type": "Feature",
      "id": 'my-point-feature'
    }
  this.geoJSONObject['features'].push(myFeature)
  </code></pre>
  
  <p>This works perfect.</p>
  
  <p>But when I do this:</p>
  
  <pre><code>const myFeature = new Feature(new Point([position[0], position[1]]))
  myFeature.setId('my-point-feature')
  this.geoJSONObject['features'].push(myFeature)
  </code></pre>
  
  <p>I get error:</p>
  
  <blockquote>
    <p>Uncaught TypeError: geometryReader is not a function
        at Function._ol_format_GeoJSON_.readGeometry_ (geojson.js:78)
        at _ol_format_GeoJSON_.readFeatureFromObject (geojson.js:382)
        at _ol_format_GeoJSON_.readFeaturesFromObject (geojson.js:415)
        at _ol_format_GeoJSON_._ol_format_JSONFeature_.readFeatures (jsonfeature.js:60)</p>
  </blockquote>
  
  <p>Why this difference in behaviour?</p>