You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
I don't know how much my problem is related to #302 so I create a new one.
In the Cytomine project, we are using your vuelayers project.
When using vuelayers with the version 0.11.22, I got a problem to display features. The features are displayed but I got an error in the browser console. You will find the stacktraces below.
I don't have this error with vuelayers 0.11.4, so I tested with different version and
Stacktraces :
In Firefox :
Unhandled promise rejection
TypeError: geoJSONObject is undefined
Stack trace:
readFeaturesFromObject@webpack-internal:///./node_modules/ol/format/GeoJSON.js:151:1
readFeatures@webpack-internal:///./node_modules/ol/format/JSONFeature.js:60:12
readSourceData@webpack-internal:///./node_modules/vuelayers/lib/vector-source/index.js:240:14
_callee$@webpack-internal:///./node_modules/vuelayers/lib/vector-source/index.js:163:32
...
In Chrome :
GeoJSON.js?a2e1:136 Uncaught (in promise) TypeError: Cannot read property 'type' of undefined
at GeoJSON.readFeaturesFromObject (GeoJSON.js?a2e1:136)
at GeoJSON.readFeatures (JSONFeature.js?377d:56)
at VueComponent.readSourceData (index.js?69ad:201)
Have a nice day !
Let me know if I can make some test to identify the origin of this problem.