Skip to main content
10 events
when toggle format what by license comment
Feb 2, 2022 at 17:29 answer added Reza timeline score: 1
Jan 30, 2022 at 21:07 answer added TomazicM timeline score: 0
Jan 30, 2022 at 20:04 history edited Reza CC BY-SA 4.0
added 1309 characters in body
Jan 30, 2022 at 19:52 history edited TomazicM
edited tags
Jan 30, 2022 at 19:46 comment added Reza TomazicM , I use OpenLayers v6.9.0 and second file is valid.I checked it in this way : I made a view containing 3 layers,OSM and 2 vector layers with 2 files as data source.I made each vector data source independently (not inside a loop) and it worked poperly. But when I put this process inside a loop with same files,face that error.this is the code that worked properly and I commented it :
Jan 30, 2022 at 15:41 comment added TomazicM @IanTurton There is no concatenation in the code above, just looping through layer source names and each time create new source and layer. I suspect concatenation might happened at the time of the source files creation.
Jan 30, 2022 at 12:15 history edited Vince CC BY-SA 4.0
naming; English usage
Jan 30, 2022 at 11:51 comment added Ian Turton I don't think you can just concatenate json files together like that
Jan 30, 2022 at 10:21 comment added TomazicM Are you really using OL2? And check if second file is valid GeoJSON.
Jan 30, 2022 at 10:17 history asked Reza CC BY-SA 4.0