Website URL
https://myrailmaps.free.nf/Mapindex.html
Error Message
I have loaded Mapindex.html, Stations.geojson, etc. it loads the background maps (OpenStreetMap, OperRailMap) but is not showing the geojson layer with my stations etc.
What am I missing?
The stations.geojson does not exist on the server, and your code is currently looking for this file. Stations.geojson does, but InfinityFree, like most of the hosting services around the world, uses Linux servers and these are case sensitive.
Renaming the file could solve this problem.
To avoid such issues I would recommend giving up capitalizing your filenames in all (despite that it looks good) because all it does is to cause issues like this.
OMG - how did I miss that?
Thanks