When executing this.map.addLayer('point', this.geoJsonLayer) I get two error
vue.runtime.esm.js:3049 TypeError: Cannot use 'in' operator to search for 'ref' in point
vue.runtime.esm.js:4605 [Vue warn]: Error in v-on handler: "TypeError: Cannot use 'in' operator to search for 'ref' in point"
This is my layer information and data:
I hope to add them on onload,this my code:
vue.runtime.esm.js:3049 TypeError: Cannot use 'in' operator to search for 'ref' in point vue.runtime.esm.js:4605 [Vue warn]: Error in v-on handler: "TypeError: Cannot use 'in' operator to search for 'ref' in point"
"dependencies": { "mapbox-gl": "^2.15.0", "vue-mapbox": "^0.4.1",
}
The same layer and source work normally in React I use, it should not be a layer and source problem, how to solve it, can you help me?