DDD Viewer Web App is a web application for visualizing geographical 3D data, generated by the ddd project.
You can find DDD Viewer online at the 3dsmaps.com site, which uses
Clone the repository:
git clone https://github.com/jjmontesl/ddd-viewer-app.git
You also need to make an npm link to reference the base ddd-viewer library:
npm link ../ddd-viewer # Replace with local path to ddd-viewer lib
npm run serve
or
npm run serve-pub-https
The build toolchain accepts some environment variables that configure the application:
DDD_VIEWER_APP_BUILD_ENV=devel-studio DDD_VIEWER_APP_TILE_URL_BASE="http://localhost:8000/cache/ddd_http/" npm run serve
To build:
npm build # For default configuration
npm build-prod # For production website: links to blog and about, oriented to OSM maps, no DDDServer links
Note that this application connects to map tile servers to retrieve and show data. It also requires some locally available assets to be included with the application. Please refer to ddd-viewer project documentation for further information.
TODO: how to download assets to be used locally (document here or in ddd-viewer project).
This project uses Vue Router HTML5 History Mode, this means when you are in development mode you can hit Cmd+R (mac) or F5 (Windows) to reload the page and it will work, but when the project is built you need to configure your web server to make that work. Please read the official Vue Router documentation here: https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations
npm run buildFeel free to report any bugs or improvements. Pull requests are always welcome.
Copyright (c) 2021 Jose Juan Montes and contributors
See LICENSE file for further information.