melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
218 stars 42 forks source link

mapConfig.json not working 404 ? #219

Open ezhabchik-dev opened 2 years ago

ezhabchik-dev commented 2 years ago

browser = vts.browser('map-div', { map: 'https://cdn.melown.com/mario/store/melown2015/map-config/melown/VTS-Tutorial-Map-4/mapConfig.json', position : positionData });

https://cdn.melown.com/mario/store/melown2015/map-config/melown/VTS-Tutorial-Map-4/mapConfig.json - this link isn't correct. Get 404 status

helmuter commented 2 months ago

The situation is still the same, all GPX viewer demos I can find refer to this URL. Could somebody help by posting a local backup? As it is an open source project, so hope this should be OK..

Thank you!

jrjdavidson commented 2 months ago

Kia ora helmuter,

The map.config file is a simple file json file, and could as such be copied somewhere, but what it actually contains is information that directs your browser where to find all the backend map resources. You will need a server with all the required vts backend resources to run examples. I'm not aware of any public servers at the moment, so if you want to run examples, you'll have to setup a server yourself. It isn't that hard if you have access to a Ubuntu machine, but be aware that the backend resources have been archived by the owners and are no longer in active development.

helmuter commented 1 month ago

Servus jrjdavidson, thank you for your clear and quick answer, now I know a path and will give it a try soon. Regards Helmut