Stand-alone offline example (using static assets without backend)
Thanks for this amazing open-source project!
- Is it possible to create a standalone vts-browser-js, while having all the assets in local static files?
How does look a simplest possible mapConfig.json having a basic regular "sphere" surface instead of an ellipsoid, without a need to load any server assets (or just a few pre-generated static files - but are they required for sphere with really basic math?) and displaying a single WGS84 jpg texture file and loading over it the standard OpenStreetMap-like Mercator tiles?
This would make a perfect minimalistic use-case for the open-source project...
Is it doable with the VTS project right now?
Here is a similar example - made using Cesium: https://webglearth.github.io/webglearth2-offline/ with all the required static files hosted on GitHub at https://github.com/webglearth/webglearth2-offline/tree/gh-pages/v2
I see https://github.com/Melown/vts-browser-js/blob/master/demos/basic/demo.js - where all the logic is on external file https://cdn.melown.com/mario/store/melown2015/map-config/melown/VTS-Tutorial-map/mapConfig.json loading a lot of additional assets...
I have failed to prepare a simplistic prototype with VTS Browser and the documentation did not help me much... All your standard examples always refer to the cloud assets. I know I could start vtsd and your mapproxy, but for a basic offline demo, this is just a crazy overhead - if it would be possible to serve a few static files...
Could you demonstrate a similar minimalistic example, please? @DavidLevinsky?
Cesium clearly is capable of similar mode. We would be keen to adopt and recommend your open-source project - especially because it runs well with our OpenMapTiles tiles. This is a first step for ensuring it is a viable lightweight open-source option to Cesium...
Thanks for any tips where to start - or for a code of a basic standalone example...
Hello, vts-browser-js does not support this mode yet. This feature is on our list from the beginning of VTS project. It should not be hard to implement it, but at this moment I do not have any specific date when this feature will be implemented.
Thanks for the reply.
I am looking forward to hearing about any update from your side 👍
Hello,
Is vts-browser-js support this mode in the latest version?
any inputs on this would be really appreciated.