Openlayer3 3.9 vector layer ignores some linestrings

المشرف العام

Administrator
طاقم الإدارة
I updated my small OL3 project to 3.9 but noticed that one of my vectorlayers now only displays very few features:

Other point layers work fine. Also I checked the basics:

  • Browser calls and transfers geoJSON successfully
  • my geoJSON is valid and get displayed at geojsonlint.com (using leaflet)
  • firebug doesn't fires errors, even with ol-debug
As said it worked fine with OL3.5 but I needed to add the GeoJSON format to migrate. Works fine for point layers :/Here is my code snippet:

... , new ol.layer.Vector({ title: 'Links', source: new ol.source.Vector({ url: '/api/links', format: new ol.format.GeoJSON({ //defaultDataProjection :'EPSG:4326', projection: 'EPSG:3857' }) }), style: [new ol.style.Style({ stroke: new ol.style.Stroke({ color: 'yellow', width: 5 }) })], visible:true }), ...Has anybody ideas how to isolate the problem? I guess I didn't found an OL bug, did I?



أكثر...
 
أعلى