Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stand-alone offline example (using static assets without backend) #116

Open
klokan opened this issue Aug 27, 2018 · 4 comments
Open

Stand-alone offline example (using static assets without backend) #116

klokan opened this issue Aug 27, 2018 · 4 comments

Comments

@klokan
Copy link

klokan commented Aug 27, 2018

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...

@davidmtech
Copy link
Member

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.

@klokan
Copy link
Author

klokan commented Aug 28, 2018

Thanks for the reply.

@klokan
Copy link
Author

klokan commented Aug 28, 2018

I am looking forward to hearing about any update from your side 👍

@SukanyaGavhane
Copy link

Hello,

Is vts-browser-js support this mode in the latest version?

any inputs on this would be really appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants