Openlayers 3.5.0: Problems with GeoJSON in IE11

المشرف العام

Administrator
طاقم الإدارة
I seem to have a problem with loading a geojson-file as source for a layer in IE11 using openlayers 3.5.0. IE11 throws an error without any description. The problem seems to occur when the geojson is set as a vector-source for an imagevector layer.

Both Chrome and Firefox do not have this problem and renders my map as desired.

A little piece of my code:

var layer = new ol.layer.Image({ source: new ol.source.ImageVector({ source: new ol.source.Vector({ url: file, format: new ol.format.GeoJSON({defaultDataProjection :'EPSG:4326', projection: 'EPSG:3857'}) }), ........

أكثر...
 
أعلى