<div dir="ltr">I have noticed that the addFeatures() of the OpenLayers.Layer.Vector add a lot of features and not just the feature that we pass to the function:<br><br>    var vectorLayer = new OpenLayers.Layer.Vector('Feature'); <br>
<br>    var geoJson = new OpenLayers.Format.GeoJSON();<br>    <br>    var geojsonString = "{ "type": "MultiPolygon", "coordinates": [ [ [ [ -309443.24, 388111.57 ], [  -239422.23, 395845.01 ], [ -136320.43, 389768.69 ], [ -136320.43, 389768.69 ], [ -134666.39, 239616.41 ], [ -308616.22 ,238788.81 ], [ -309443.24, 388111.57 ] ] ] ] }"<br>
    <br>    vectorLayer.addFeatures(geoJson.read(geojsonString);<br>    <br>    console.log(vectorLayer.features) // returns 13 objects instead of 1<br><br>13 features were added to vectorLayer.features. The first object is the geoJson feature and the others are some points vector. Is this normal? If yes, is it possible to not add those additional features because render time is affected.<br clear="all">
<br>-- <br><div dir="ltr"><div><div><div>Stack Overflow: <a href="http://stackoverflow.com/users/1914034/burton449" target="_blank">http://stackoverflow.com/users/1914034/burton449</a><br></div></div>GIS Overflow: <a href="http://gis.stackexchange.com/users/14426/burton449" target="_blank">http://gis.stackexchange.com/users/14426/burton449</a><br>
</div>LastFm: <a href="http://www.lastfm.fr/user/burton449" target="_blank">http://www.lastfm.fr/user/burton449</a><br></div>
</div>